Use double quotes consistently in javascript code
[rails.git] / config / eslint.json
1 {
2   "env": {
3     "browser": true,
4     "jquery": true
5   },
6   "extends": [
7     "eslint:recommended"
8   ],
9   "globals": {
10     "bowser": "readonly",
11     "I18n": "readonly",
12     "L": "readonly",
13     "OSM": "writable",
14     "Piwik": "readonly",
15     "querystring": "readonly",
16     "require": "readonly",
17     "updateLinks": "readonly"
18   },
19   "rules": {
20     "dot-notation": "error",
21     "eqeqeq": ["error", "smart"],
22     "keyword-spacing": "error",
23     "no-caller": "error",
24     "no-div-regex": "error",
25     "no-extend-native": "error",
26     "no-extra-bind": "error",
27     "no-floating-decimal": "error",
28     "no-implied-eval": "error",
29     "no-iterator": "error",
30     "no-labels": "error",
31     "no-label-var": "error",
32     "no-lone-blocks": "error",
33     "no-loop-func": "error",
34     "no-multi-str": "error",
35     "no-new": "error",
36     "no-new-func": "error",
37     "no-new-wrappers": "error",
38     "no-octal-escape": "error",
39     "no-process-env": "error",
40     "no-proto": "error",
41     "no-script-url": "error",
42     "no-self-compare": "error",
43     "no-sequences": "error",
44     "no-shadow-restricted-names": "error",
45     "no-throw-literal": "error",
46     "no-trailing-spaces": "error",
47     "no-unneeded-ternary": "error",
48     "no-unused-expressions": "off",
49     "no-unused-vars": "error",
50     "no-use-before-define": ["error", {"functions": false}],
51     "no-void": "error",
52     "no-warning-comments": "warn",
53     "no-with": "error",
54     "quotes": ["error", "double"],
55     "radix": ["error", "always"],
56     "semi": ["error", "always"],
57     "semi-spacing": "error",
58     "space-unary-ops": "error",
59     "wrap-regex": "off"
60   }
61 }