|
| 1 | +{ |
| 2 | + "parser": "babel-eslint", |
| 3 | + "extends": "eslint:recommended", |
| 4 | + "rules": { |
| 5 | + "no-alert": "error", |
| 6 | + "no-array-constructor": "error", |
| 7 | + "no-caller": "error", |
| 8 | + "no-catch-shadow": "error", |
| 9 | + "no-console": "error", |
| 10 | + "no-eval": "error", |
| 11 | + "no-extend-native": "error", |
| 12 | + "no-extra-bind": "error", |
| 13 | + "no-implied-eval": "error", |
| 14 | + "no-iterator": "error", |
| 15 | + "no-label-var": "error", |
| 16 | + "no-labels": "error", |
| 17 | + "no-lone-blocks": "error", |
| 18 | + "no-loop-func": "error", |
| 19 | + "no-multi-str": "error", |
| 20 | + "no-native-reassign": "error", |
| 21 | + "no-new": "error", |
| 22 | + "no-new-func": "error", |
| 23 | + "no-new-object": "error", |
| 24 | + "no-new-wrappers": "error", |
| 25 | + "no-octal-escape": "error", |
| 26 | + "no-proto": "error", |
| 27 | + "no-return-assign": "error", |
| 28 | + "no-script-url": "error", |
| 29 | + "no-sequences": "error", |
| 30 | + "no-shadow": "error", |
| 31 | + "no-shadow-restricted-names": "error", |
| 32 | + "no-spaced-func": "error", |
| 33 | + "no-undef-init": "error", |
| 34 | + "no-unused-expressions": "error", |
| 35 | + "no-with": "error", |
| 36 | + "camelcase": "error", |
| 37 | + "comma-spacing": "error", |
| 38 | + "consistent-return": "error", |
| 39 | + "eqeqeq": "error", |
| 40 | + "semi": "error", |
| 41 | + "semi-spacing": ["error", {"before": false, "after": true}], |
| 42 | + "space-infix-ops": "error", |
| 43 | + "space-unary-ops": ["error", { "words": true, "nonwords": false }], |
| 44 | + "yoda": ["error", "never"], |
| 45 | + "brace-style": ["error", "stroustrup", { "allowSingleLine": false }], |
| 46 | + "eol-last": "error", |
| 47 | + "indent": ["error", 4, { "SwitchCase": 1 }], |
| 48 | + "key-spacing": ["error", { "align": "value" }], |
| 49 | + "max-nested-callbacks": ["error", 3], |
| 50 | + "new-parens": "error", |
| 51 | + "newline-after-var": ["error", "always"], |
| 52 | + "no-lonely-if": "error", |
| 53 | + "no-multiple-empty-lines": ["error", { "max": 2 }], |
| 54 | + "no-nested-ternary": "error", |
| 55 | + "no-underscore-dangle": "off", |
| 56 | + "no-unneeded-ternary": "error", |
| 57 | + "object-curly-spacing": ["error", "always"], |
| 58 | + "operator-assignment": ["error", "always"], |
| 59 | + "quotes": ["error", "single", "avoid-escape"], |
| 60 | + "keyword-spacing" : "error", |
| 61 | + "space-before-blocks": ["error", "always"], |
| 62 | + "prefer-const": "error", |
| 63 | + "no-path-concat": "error", |
| 64 | + "no-undefined": "error", |
| 65 | + "strict": "off", |
| 66 | + "curly": ["error", "multi-or-nest"], |
| 67 | + "dot-notation": "off", |
| 68 | + "no-else-return": "error", |
| 69 | + "one-var": ["error", "never"], |
| 70 | + "no-multi-spaces": ["error", { |
| 71 | + "exceptions": { |
| 72 | + "VariableDeclarator": true, |
| 73 | + "AssignmentExpression": true |
| 74 | + } |
| 75 | + }], |
| 76 | + "radix": "error", |
| 77 | + "no-extra-parens": "error", |
| 78 | + "new-cap": ["error", { "capIsNew": false }], |
| 79 | + "space-before-function-paren": ["error", "always"], |
| 80 | + "no-use-before-define" : ["error", "nofunc"], |
| 81 | + "handle-callback-err": "off" |
| 82 | + }, |
| 83 | + "env": { |
| 84 | + "node": true |
| 85 | + } |
| 86 | +} |
0 commit comments