|
| 1 | +{ |
| 2 | + "root": true, |
| 3 | + "env": { |
| 4 | + "node": true |
| 5 | + }, |
| 6 | + "rules": { |
| 7 | + "array-bracket-spacing": [2, "never"], |
| 8 | + "brace-style": [2, "1tbs", { "allowSingleLine": true }], |
| 9 | + "camelcase": [2, { "properties": "never" }], |
| 10 | + "comma-dangle": [2, "never"], |
| 11 | + "comma-spacing": [2, { "before": false, "after": true }], |
| 12 | + "consistent-return": 0, |
| 13 | + "curly": [2, "multi-line"], |
| 14 | + "dot-notation": [2, { "allowKeywords": true, "allowPattern": "^[a-z]+(_[a-z]+)+$" }], |
| 15 | + "eol-last": 0, |
| 16 | + "eqeqeq": [2, "allow-null"], |
| 17 | + "handle-callback-err": 2, |
| 18 | + "indent": [2, 4, { "SwitchCase": 1 }], |
| 19 | + "key-spacing": [1, { "beforeColon": false, "afterColon": true }], |
| 20 | + "linebreak-style": [2, "unix"], |
| 21 | + "max-len": [1, 140, 4], |
| 22 | + "new-cap": [2, { "newIsCap": true, "capIsNew": false }], |
| 23 | + "new-parens": 0, |
| 24 | + "no-alert": 0, |
| 25 | + "no-array-constructor": 2, |
| 26 | + "no-caller": 2, |
| 27 | + "no-case-declarations": 2, |
| 28 | + "no-catch-shadow": 0, |
| 29 | + "no-cond-assign": [2, "except-parens"], |
| 30 | + "no-console": 0, |
| 31 | + "no-constant-condition": 2, |
| 32 | + "no-control-regex": 2, |
| 33 | + "no-debugger": 2, |
| 34 | + "no-delete-var": 2, |
| 35 | + "no-dupe-args": 2, |
| 36 | + "no-dupe-keys": 2, |
| 37 | + "no-duplicate-case": 2, |
| 38 | + "no-empty": 2, |
| 39 | + "no-empty-character-class": 2, |
| 40 | + "no-empty-label": 2, |
| 41 | + "no-empty-pattern": 2, |
| 42 | + "no-eval": 2, |
| 43 | + "no-ex-assign": 2, |
| 44 | + "no-extend-native": 2, |
| 45 | + "no-extra-bind": 2, |
| 46 | + "no-extra-boolean-cast": 2, |
| 47 | + "no-extra-parens": 0, |
| 48 | + "no-fallthrough": 2, |
| 49 | + "no-floating-decimal": 2, |
| 50 | + "no-func-assign": 2, |
| 51 | + "no-implied-eval": 2, |
| 52 | + "no-inner-declarations": 2, |
| 53 | + "no-invalid-regexp": 2, |
| 54 | + "no-iterator": 2, |
| 55 | + "no-label-var": 2, |
| 56 | + "no-labels": 0, |
| 57 | + "no-lone-blocks": 0, |
| 58 | + "no-loop-func": 0, |
| 59 | + "no-mixed-spaces-and-tabs": [2, false], |
| 60 | + "no-multi-spaces": 2, |
| 61 | + "no-multi-str": 0, |
| 62 | + "no-multiple-empty-lines": [2, { "max": 2 }], |
| 63 | + "no-native-reassign": 2, |
| 64 | + "no-negated-in-lhs": 2, |
| 65 | + "no-new": 0, |
| 66 | + "no-new-func": 2, |
| 67 | + "no-new-object": 2, |
| 68 | + "no-new-wrappers": 2, |
| 69 | + "no-obj-calls": 2, |
| 70 | + "no-octal": 2, |
| 71 | + "no-octal-escape": 2, |
| 72 | + "no-process-exit": 0, |
| 73 | + "no-proto": 2, |
| 74 | + "no-redeclare": 2, |
| 75 | + "no-regex-spaces": 2, |
| 76 | + "no-restricted-syntax": [2, "WithStatement"], |
| 77 | + "no-return-assign": [2, "always"], |
| 78 | + "no-script-url": 2, |
| 79 | + "no-sequences": 2, |
| 80 | + "no-shadow": 0, |
| 81 | + "no-shadow-restricted-names": 2, |
| 82 | + "no-spaced-func": 2, |
| 83 | + "no-sparse-arrays": 2, |
| 84 | + "no-trailing-spaces": [2, { "skipBlankLines": false }], |
| 85 | + "no-undef": 2, |
| 86 | + "no-undef-init": 2, |
| 87 | + "no-underscore-dangle": 0, |
| 88 | + "no-unused-expressions": 0, |
| 89 | + "no-unused-vars": 2, |
| 90 | + "no-use-before-define": [1, "nofunc"], |
| 91 | + "no-with": 2, |
| 92 | + "object-curly-spacing": [2, "always"], |
| 93 | + "one-var": [2, "never"], |
| 94 | + "quote-props": 0, |
| 95 | + "quotes": [2, "single", "avoid-escape"], |
| 96 | + "semi": 2, |
| 97 | + "semi-spacing": 0, |
| 98 | + "space-before-blocks": [2, "always"], |
| 99 | + "space-before-function-paren": [2, { "anonymous": "always", "named": "never" }], |
| 100 | + "space-infix-ops": 2, |
| 101 | + "space-return-throw-case": 2, |
| 102 | + "space-unary-ops": 0, |
| 103 | + "spaced-comment": [1, "always"], |
| 104 | + "strict": 0, |
| 105 | + "use-isnan": 2, |
| 106 | + "valid-typeof": 2, |
| 107 | + "yoda": [2, "never"] |
| 108 | + } |
| 109 | +} |
0 commit comments