|
| 1 | +{ |
| 2 | + "root": true, |
| 3 | + "extends": [ |
| 4 | + "eslint:recommended", |
| 5 | + ], |
| 6 | + "env": { |
| 7 | + "commonjs": true |
| 8 | + }, |
| 9 | + "rules": { |
| 10 | + "no-trailing-spaces": [0], |
| 11 | + "no-multiple-empty-lines": [2, {"max": 3, "maxEOF": 1}], |
| 12 | + "linebreak-style": [2, "unix"], |
| 13 | + "indent": [0, 4], |
| 14 | + "max-len": [0, 80], |
| 15 | + "brace-style": [0, "stroustrup", { "allowSingleLine": true }], |
| 16 | + "curly": [0, "multi"], |
| 17 | + "camelcase": [0, {"properties": "never"}], |
| 18 | + "comma-spacing": [0, {"before": false, "after": true}], |
| 19 | + "comma-style": [0, "last"], |
| 20 | + "semi": [2], |
| 21 | + "semi-spacing": [2, {"before": false, "after": true}], |
| 22 | + "key-spacing": [0, {"beforeColon": false, "afterColon": true}], |
| 23 | + "no-spaced-func": [2], |
| 24 | + "space-in-parens": [2, "never"], |
| 25 | + "space-before-function-paren": [0, "never"], |
| 26 | + "no-multi-spaces": [0], |
| 27 | + "space-infix-ops": [0, {"int32Hint": false}], |
| 28 | + "quotes": [2, "single"], |
| 29 | + "dot-notation": [2, {"allowKeywords": false}], |
| 30 | + "eqeqeq": [2], |
| 31 | + "new-cap": [2], |
| 32 | + "no-redeclare": [2, {"builtinGlobals": true}], |
| 33 | + "no-shadow": [0, {"builtinGlobals": true}], |
| 34 | + "block-scoped-var": [2], |
| 35 | + "no-unused-vars": [2], |
| 36 | + "no-use-before-define": [2, "nofunc"], |
| 37 | + "no-loop-func": [2], |
| 38 | + "no-console": [0] |
| 39 | + }, |
| 40 | +} |
0 commit comments