| 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 /** | 9 /** |
| 10 * ESLint rules | 10 * ESLint rules |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 "no-cond-assign": 2, | 56 "no-cond-assign": 2, |
| 57 "no-debugger": 2, | 57 "no-debugger": 2, |
| 58 "no-console": [2, { "allow": ["warn", "error", "assert", "timeStamp", "t
ime", "timeEnd"] }], | 58 "no-console": [2, { "allow": ["warn", "error", "assert", "timeStamp", "t
ime", "timeEnd"] }], |
| 59 "no-dupe-keys": 2, | 59 "no-dupe-keys": 2, |
| 60 "no-duplicate-case": 2, | 60 "no-duplicate-case": 2, |
| 61 "no-empty-character-class": 2, | 61 "no-empty-character-class": 2, |
| 62 "no-unreachable": 2, | 62 "no-unreachable": 2, |
| 63 "no-unsafe-negation": 2, | 63 "no-unsafe-negation": 2, |
| 64 "radix": 2, | 64 "radix": 2, |
| 65 "valid-typeof": 2, | 65 "valid-typeof": 2, |
| 66 "no-unused-vars": [2, { "args": "none", "vars": "local" }], |
| 66 | 67 |
| 67 // es2015 features | 68 // es2015 features |
| 68 "require-yield": 2, | 69 "require-yield": 2, |
| 69 "template-curly-spacing": [2, "never"], | 70 "template-curly-spacing": [2, "never"], |
| 70 | 71 |
| 71 // spacing details | 72 // spacing details |
| 72 "space-infix-ops": 2, | 73 "space-infix-ops": 2, |
| 73 "space-in-parens": [2, "never"], | 74 "space-in-parens": [2, "never"], |
| 74 "space-before-function-paren": [2, "never"], | 75 "space-before-function-paren": [2, "never"], |
| 75 "no-whitespace-before-property": 2, | 76 "no-whitespace-before-property": 2, |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 "afterColon": true, | 111 "afterColon": true, |
| 111 "align": "value" | 112 "align": "value" |
| 112 }], | 113 }], |
| 113 // quote-props is diabled, as property quoting styles are too varied to
enforce. | 114 // quote-props is diabled, as property quoting styles are too varied to
enforce. |
| 114 "quote-props": [0, "as-needed"], | 115 "quote-props": [0, "as-needed"], |
| 115 | 116 |
| 116 // no-implicit-globals will prevent accidental globals | 117 // no-implicit-globals will prevent accidental globals |
| 117 "no-implicit-globals": [0] | 118 "no-implicit-globals": [0] |
| 118 } | 119 } |
| 119 }; | 120 }; |
| OLD | NEW |