|
3 | 3 | "extends": [ |
4 | 4 | "eslint:recommended" |
5 | 5 | ], |
| 6 | + "parserOptions": { |
| 7 | + "ecmaVersion": 5, |
| 8 | + }, |
6 | 9 | "env": { |
7 | 10 | "commonjs": true |
8 | 11 | }, |
|
14 | 17 | "indent": [2, 4, {"SwitchCase": 1}], |
15 | 18 | "max-len": [0, 80], |
16 | 19 | "brace-style": [0, "stroustrup", {"allowSingleLine": true}], |
17 | | - "curly": [0, "multi"], |
| 20 | + "curly": [2, "multi-line"], |
18 | 21 | "camelcase": [0, {"properties": "never"}], |
19 | 22 | "comma-spacing": [2, {"before": false, "after": true}], |
20 | 23 | "comma-style": [2, "last"], |
|
32 | 35 | "space-in-parens": [2, "never"], |
33 | 36 | "space-before-function-paren": [2, "never"], |
34 | 37 | "space-before-blocks": [2], |
| 38 | + "spaced-comment": [2, "always"], |
| 39 | + "no-tabs": [2], |
35 | 40 | "no-multi-spaces": [2], |
36 | 41 | "no-whitespace-before-property": [2], |
37 | 42 | "no-unexpected-multiline": [2], |
38 | 43 | "no-floating-decimal": [2], |
39 | 44 | "space-infix-ops": [2, {"int32Hint": true}], |
40 | 45 | "quotes": [2, "single"], |
41 | 46 | "dot-notation": [2], |
| 47 | + "dot-location": [2, "property"], |
42 | 48 | "operator-linebreak": [2, "after"], |
43 | 49 | "eqeqeq": [2], |
44 | | - "new-cap": [0], |
| 50 | + "new-cap": [2, { "capIsNewExceptionPattern": "^MathJax\\.." }], |
45 | 51 | "no-redeclare": [2, {"builtinGlobals": true}], |
46 | 52 | "no-shadow": [0, {"builtinGlobals": true}], |
47 | 53 | "block-scoped-var": [2], |
48 | 54 | "no-unused-vars": [2], |
| 55 | + "no-undef-init": [2], |
49 | 56 | "no-use-before-define": [2, "nofunc"], |
50 | 57 | "no-loop-func": [2], |
51 | 58 | "no-console": [0], |
|
0 commit comments