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