|
| 1 | +{ |
| 2 | + "env": { |
| 3 | + "node": true, |
| 4 | + "es6": true |
| 5 | + }, |
| 6 | + "parserOptions": { |
| 7 | + "ecmaVersion": 6, |
| 8 | + "sourceType": "module" |
| 9 | + }, |
| 10 | + "extends": [ |
| 11 | + "eslint:recommended" |
| 12 | + ], |
| 13 | + "rules": { |
| 14 | + "dot-notation": "error", |
| 15 | + "eqeqeq": ["error", "smart"], |
| 16 | + "indent": ["off", 4], |
| 17 | + "keyword-spacing": "error", |
| 18 | + "linebreak-style": ["error", "unix"], |
| 19 | + "no-caller": "error", |
| 20 | + "no-catch-shadow": "error", |
| 21 | + "no-console": "warn", |
| 22 | + "no-div-regex": "error", |
| 23 | + "no-extend-native": "error", |
| 24 | + "no-extra-bind": "error", |
| 25 | + "no-floating-decimal": "error", |
| 26 | + "no-implied-eval": "error", |
| 27 | + "no-invalid-this": "error", |
| 28 | + "no-iterator": "error", |
| 29 | + "no-labels": "error", |
| 30 | + "no-label-var": "error", |
| 31 | + "no-lone-blocks": "error", |
| 32 | + "no-loop-func": "error", |
| 33 | + "no-multi-str": "error", |
| 34 | + "no-native-reassign": "error", |
| 35 | + "no-new": "error", |
| 36 | + "no-new-func": "error", |
| 37 | + "no-new-wrappers": "error", |
| 38 | + "no-octal": "error", |
| 39 | + "no-octal-escape": "error", |
| 40 | + "no-process-env": "error", |
| 41 | + "no-proto": "error", |
| 42 | + "no-return-assign": "off", |
| 43 | + "no-script-url": "error", |
| 44 | + "no-self-compare": "error", |
| 45 | + "no-sequences": "error", |
| 46 | + "no-shadow": "off", |
| 47 | + "no-shadow-restricted-names": "error", |
| 48 | + "no-throw-literal": "error", |
| 49 | + "no-unneeded-ternary": "error", |
| 50 | + "no-unused-expressions": "error", |
| 51 | + "no-unexpected-multiline": "error", |
| 52 | + "no-unused-vars": "warn", |
| 53 | + "no-void": "error", |
| 54 | + "no-warning-comments": "warn", |
| 55 | + "no-with": "error", |
| 56 | + "no-use-before-define": ["off", "nofunc"], |
| 57 | + "semi": ["error", "always"], |
| 58 | + "semi-spacing": "error", |
| 59 | + "space-unary-ops": "error", |
| 60 | + "wrap-regex": "off", |
| 61 | + "quotes": ["error", "single"] |
| 62 | + } |
| 63 | +} |
0 commit comments