|
| 1 | +{ |
| 2 | + "env": { |
| 3 | + "node": true, |
| 4 | + "es6": true |
| 5 | + }, |
| 6 | + "rules": { |
| 7 | + "no-alert": 2, |
| 8 | + "no-array-constructor": 2, |
| 9 | + "no-bitwise": 2, |
| 10 | + "no-caller": 2, |
| 11 | + "no-catch-shadow": 2, |
| 12 | + "no-cond-assign": 2, |
| 13 | + "no-console": 1, |
| 14 | + "no-constant-condition": 2, |
| 15 | + "no-continue": 2, |
| 16 | + "no-control-regex": 2, |
| 17 | + "no-debugger": 1, |
| 18 | + "no-delete-var": 2, |
| 19 | + "no-div-regex": 2, |
| 20 | + "no-dupe-keys": 2, |
| 21 | + "no-dupe-args": 2, |
| 22 | + "no-duplicate-case": 2, |
| 23 | + "no-else-return": 0, |
| 24 | + "no-empty": 2, |
| 25 | + "no-empty-character-class": 2, |
| 26 | + "no-eq-null": 2, |
| 27 | + "no-eval": 2, |
| 28 | + "no-ex-assign": 2, |
| 29 | + "no-extend-native": 2, |
| 30 | + "no-extra-bind": 2, |
| 31 | + "no-extra-boolean-cast": 2, |
| 32 | + "no-extra-parens": 0, |
| 33 | + "no-extra-semi": 2, |
| 34 | + "no-fallthrough": 2, |
| 35 | + "no-floating-decimal": 2, |
| 36 | + "no-func-assign": 2, |
| 37 | + "no-implied-eval": 2, |
| 38 | + "no-inline-comments": 2, |
| 39 | + "no-inner-declarations": [2, "functions"], |
| 40 | + "no-invalid-regexp": 2, |
| 41 | + "no-irregular-whitespace": 2, |
| 42 | + "no-iterator": 2, |
| 43 | + "no-label-var": 2, |
| 44 | + "no-labels": 2, |
| 45 | + "no-lone-blocks": 2, |
| 46 | + "no-lonely-if": 2, |
| 47 | + "no-loop-func": 2, |
| 48 | + "no-mixed-requires": 0, |
| 49 | + "no-mixed-spaces-and-tabs": [2, false], |
| 50 | + "linebreak-style": [0, "unix"], |
| 51 | + "no-multi-spaces": 2, |
| 52 | + "no-multi-str": 2, |
| 53 | + "no-multiple-empty-lines": [2, {"max": 2}], |
| 54 | + "no-native-reassign": 2, |
| 55 | + "no-negated-in-lhs": 2, |
| 56 | + "no-nested-ternary": 2, |
| 57 | + "no-new": 2, |
| 58 | + "no-new-func": 2, |
| 59 | + "no-new-object": 2, |
| 60 | + "no-new-require": 2, |
| 61 | + "no-new-wrappers": 2, |
| 62 | + "no-obj-calls": 2, |
| 63 | + "no-octal": 2, |
| 64 | + "no-octal-escape": 2, |
| 65 | + "no-param-reassign": 0, |
| 66 | + "no-path-concat": 2, |
| 67 | + "no-plusplus": 2, |
| 68 | + "no-process-env": 2, |
| 69 | + "no-process-exit": 2, |
| 70 | + "no-proto": 2, |
| 71 | + "no-redeclare": 2, |
| 72 | + "no-regex-spaces": 2, |
| 73 | + "no-restricted-modules": 2, |
| 74 | + "no-return-assign": 2, |
| 75 | + "no-script-url": 2, |
| 76 | + "no-self-compare": 2, |
| 77 | + "no-sequences": 2, |
| 78 | + "no-shadow": 2, |
| 79 | + "no-shadow-restricted-names": 2, |
| 80 | + "no-spaced-func": 2, |
| 81 | + "no-sparse-arrays": 2, |
| 82 | + "no-sync": 0, |
| 83 | + "no-ternary": 0, |
| 84 | + "no-trailing-spaces": 2, |
| 85 | + "no-this-before-super": 2, |
| 86 | + "no-throw-literal": 0, |
| 87 | + "no-undef": 2, |
| 88 | + "no-undef-init": 2, |
| 89 | + "no-undefined": 0, |
| 90 | + "no-unexpected-multiline": 2, |
| 91 | + "no-underscore-dangle": 0, |
| 92 | + "no-unneeded-ternary": 2, |
| 93 | + "no-unreachable": 2, |
| 94 | + "no-unused-expressions": [2, { allowTernary: true }], |
| 95 | + "no-unused-vars": [2, {"vars": "all", "args": "after-used"}], |
| 96 | + "no-use-before-define": 0, |
| 97 | + "no-void": 2, |
| 98 | + "no-var": 0, |
| 99 | + "prefer-const": 2, |
| 100 | + "no-warning-comments": [1, { "terms": ["todo", "fixme", "xxx"], "location": "start" }], |
| 101 | + "no-with": 2, |
| 102 | + "array-bracket-spacing": [2, "never"], |
| 103 | + "accessor-pairs": 2, |
| 104 | + "block-scoped-var": 2, |
| 105 | + "brace-style": [2, "1tbs"], |
| 106 | + "camelcase": 0, |
| 107 | + "comma-dangle": [2, "never"], |
| 108 | + "comma-spacing": 2, |
| 109 | + "comma-style": 2, |
| 110 | + "complexity": [2, 11], |
| 111 | + "computed-property-spacing": [2, "never"], |
| 112 | + "consistent-return": 0, |
| 113 | + "consistent-this": [2, "that"], |
| 114 | + "constructor-super": 2, |
| 115 | + "curly": [2, "all"], |
| 116 | + "default-case": 2, |
| 117 | + "dot-location": 2, |
| 118 | + "dot-notation": [2, { "allowKeywords": true }], |
| 119 | + "eol-last": 2, |
| 120 | + "eqeqeq": 2, |
| 121 | + "func-names": 0, |
| 122 | + "func-style": [2, "expression"], |
| 123 | + "generator-star-spacing": 2, |
| 124 | + "guard-for-in": 2, |
| 125 | + "handle-callback-err": 2, |
| 126 | + "indent": [2, 2], |
| 127 | + "keyword-spacing": [2], |
| 128 | + "lines-around-comment": 2, |
| 129 | + "max-depth": [2, 4], |
| 130 | + "max-len": [2, 200, 2], |
| 131 | + "max-nested-callbacks": [2, 2], |
| 132 | + "max-params": [2, 6], |
| 133 | + "max-statements": [2, 50], |
| 134 | + "new-cap": 2, |
| 135 | + "new-parens": 2, |
| 136 | + "newline-after-var": 0, |
| 137 | + "object-curly-spacing": [2, "always"], |
| 138 | + "object-shorthand": 0, |
| 139 | + "one-var": 2, |
| 140 | + "operator-assignment": [2, "always"], |
| 141 | + "operator-linebreak": 2, |
| 142 | + "padded-blocks": 0, |
| 143 | + "quote-props": [2, "as-needed"], |
| 144 | + "quotes": [2, "single"], |
| 145 | + "radix": 2, |
| 146 | + "semi": 2, |
| 147 | + "semi-spacing": [2, {"before": false, "after": true}], |
| 148 | + "sort-vars": 0, |
| 149 | + "space-before-blocks": [2, "always"], |
| 150 | + "space-before-function-paren": [2, "always"], |
| 151 | + "space-in-brackets": 0, |
| 152 | + "space-in-parens": [2, "never"], |
| 153 | + "space-infix-ops": 2, |
| 154 | + "space-unary-ops": [2, { "words": true, "nonwords": false }], |
| 155 | + "spaced-comment": 2, |
| 156 | + "strict": 0, |
| 157 | + "use-isnan": 2, |
| 158 | + "valid-jsdoc": 0, |
| 159 | + "valid-typeof": 2, |
| 160 | + "vars-on-top": 2, |
| 161 | + "wrap-iife": 2, |
| 162 | + "wrap-regex": 2, |
| 163 | + "yoda": [2, "never"] |
| 164 | + } |
| 165 | +} |
0 commit comments