OLD | NEW |
1 module.exports = { | 1 module.exports = { |
2 "root": true, | 2 "root": true, |
3 | 3 |
4 "env": { | 4 "env": { |
5 "browser": true, | 5 "browser": true, |
6 "es6": true | 6 "es6": true |
7 }, | 7 }, |
8 | 8 |
| 9 "parserOptions": { |
| 10 "ecmaVersion": 8 |
| 11 }, |
| 12 |
9 /** | 13 /** |
10 * ESLint rules | 14 * ESLint rules |
11 * | 15 * |
12 * All available rules: http://eslint.org/docs/rules/ | 16 * All available rules: http://eslint.org/docs/rules/ |
13 * | 17 * |
14 * Rules take the following form: | 18 * Rules take the following form: |
15 * "rule-name", [severity, { opts }] | 19 * "rule-name", [severity, { opts }] |
16 * Severity: 2 == error, 1 == warning, 0 == off. | 20 * Severity: 2 == error, 1 == warning, 0 == off. |
17 */ | 21 */ |
18 "rules": { | 22 "rules": { |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 "afterColon": true, | 115 "afterColon": true, |
112 "align": "value" | 116 "align": "value" |
113 }], | 117 }], |
114 // quote-props is diabled, as property quoting styles are too varied to
enforce. | 118 // quote-props is diabled, as property quoting styles are too varied to
enforce. |
115 "quote-props": [0, "as-needed"], | 119 "quote-props": [0, "as-needed"], |
116 | 120 |
117 // no-implicit-globals will prevent accidental globals | 121 // no-implicit-globals will prevent accidental globals |
118 "no-implicit-globals": [0] | 122 "no-implicit-globals": [0] |
119 } | 123 } |
120 }; | 124 }; |
OLD | NEW |