1
+ {
2
+ "env" : {
3
+ "browser" : true ,
4
+ "commonjs" : true ,
5
+ "node" : true
6
+ },
7
+ "extends" : " eslint:recommended" ,
8
+ "rules" : {
9
+ "accessor-pairs" : " error" ,
10
+ "array-bracket-spacing" : [
11
+ " error" ,
12
+ " never"
13
+ ],
14
+ "array-callback-return" : " error" ,
15
+ "arrow-body-style" : " error" ,
16
+ "arrow-parens" : " error" ,
17
+ "arrow-spacing" : " error" ,
18
+ "block-scoped-var" : " error" ,
19
+ "block-spacing" : [
20
+ " error" ,
21
+ " always"
22
+ ],
23
+ "brace-style" : [
24
+ " error" ,
25
+ " 1tbs" ,
26
+ {
27
+ "allowSingleLine" : true
28
+ }
29
+ ],
30
+ "callback-return" : " error" ,
31
+ "camelcase" : " off" ,
32
+ "capitalized-comments" : " error" ,
33
+ "class-methods-use-this" : " error" ,
34
+ "comma-dangle" : " error" ,
35
+ "comma-spacing" : " off" ,
36
+ "comma-style" : [
37
+ " error" ,
38
+ " last"
39
+ ],
40
+ "complexity" : " error" ,
41
+ "computed-property-spacing" : [
42
+ " error" ,
43
+ " never"
44
+ ],
45
+ "consistent-return" : " error" ,
46
+ "consistent-this" : " error" ,
47
+ "curly" : " error" ,
48
+ "default-case" : " error" ,
49
+ "dot-location" : " error" ,
50
+ "dot-notation" : " error" ,
51
+ "eol-last" : " error" ,
52
+ "eqeqeq" : " error" ,
53
+ "func-call-spacing" : " error" ,
54
+ "func-name-matching" : " error" ,
55
+ "func-names" : [
56
+ " error" ,
57
+ " never"
58
+ ],
59
+ "func-style" : [
60
+ " error" ,
61
+ " declaration"
62
+ ],
63
+ "generator-star-spacing" : " error" ,
64
+ "global-require" : " error" ,
65
+ "guard-for-in" : " error" ,
66
+ "handle-callback-err" : " error" ,
67
+ "id-blacklist" : " error" ,
68
+ "id-length" : " off" ,
69
+ "id-match" : " error" ,
70
+ "indent" : " off" ,
71
+ "init-declarations" : " off" ,
72
+ "jsx-quotes" : " error" ,
73
+ "key-spacing" : " error" ,
74
+ "keyword-spacing" : [
75
+ " error" ,
76
+ {
77
+ "after" : true ,
78
+ "before" : true
79
+ }
80
+ ],
81
+ "line-comment-position" : " error" ,
82
+ "linebreak-style" : [
83
+ " error" ,
84
+ " unix"
85
+ ],
86
+ "lines-around-comment" : " error" ,
87
+ "lines-around-directive" : " error" ,
88
+ "max-depth" : " error" ,
89
+ "max-len" : " off" ,
90
+ "max-lines" : " off" ,
91
+ "max-nested-callbacks" : " error" ,
92
+ "max-params" : " error" ,
93
+ "max-statements" : " off" ,
94
+ "max-statements-per-line" : " off" ,
95
+ "multiline-ternary" : [
96
+ " error" ,
97
+ " never"
98
+ ],
99
+ "new-cap" : " error" ,
100
+ "new-parens" : " error" ,
101
+ "newline-after-var" : " off" ,
102
+ "newline-before-return" : " off" ,
103
+ "newline-per-chained-call" : " error" ,
104
+ "no-alert" : " error" ,
105
+ "no-array-constructor" : " error" ,
106
+ "no-await-in-loop" : " error" ,
107
+ "no-bitwise" : " error" ,
108
+ "no-caller" : " error" ,
109
+ "no-catch-shadow" : " error" ,
110
+ "no-confusing-arrow" : " error" ,
111
+ "no-continue" : " error" ,
112
+ "no-div-regex" : " error" ,
113
+ "no-duplicate-imports" : " error" ,
114
+ "no-else-return" : " off" ,
115
+ "no-empty-function" : " off" ,
116
+ "no-eq-null" : " error" ,
117
+ "no-eval" : " error" ,
118
+ "no-extend-native" : " error" ,
119
+ "no-extra-bind" : " error" ,
120
+ "no-extra-label" : " error" ,
121
+ "no-extra-parens" : " off" ,
122
+ "no-floating-decimal" : " error" ,
123
+ "no-implicit-globals" : " off" ,
124
+ "no-implied-eval" : " error" ,
125
+ "no-inline-comments" : " error" ,
126
+ "no-inner-declarations" : [
127
+ " error" ,
128
+ " functions"
129
+ ],
130
+ "no-invalid-this" : " error" ,
131
+ "no-iterator" : " error" ,
132
+ "no-label-var" : " error" ,
133
+ "no-labels" : " error" ,
134
+ "no-lone-blocks" : " error" ,
135
+ "no-lonely-if" : " error" ,
136
+ "no-loop-func" : " error" ,
137
+ "no-magic-numbers" : " off" ,
138
+ "no-mixed-operators" : " error" ,
139
+ "no-mixed-requires" : " error" ,
140
+ "no-multi-spaces" : " off" ,
141
+ "no-multi-str" : " error" ,
142
+ "no-multiple-empty-lines" : " error" ,
143
+ "no-native-reassign" : " error" ,
144
+ "no-negated-condition" : " error" ,
145
+ "no-negated-in-lhs" : " error" ,
146
+ "no-nested-ternary" : " error" ,
147
+ "no-new" : " error" ,
148
+ "no-new-func" : " error" ,
149
+ "no-new-object" : " error" ,
150
+ "no-new-require" : " error" ,
151
+ "no-new-wrappers" : " error" ,
152
+ "no-octal-escape" : " error" ,
153
+ "no-param-reassign" : [
154
+ " error" ,
155
+ {
156
+ "props" : false
157
+ }
158
+ ],
159
+ "no-path-concat" : " error" ,
160
+ "no-plusplus" : [
161
+ " error" ,
162
+ {
163
+ "allowForLoopAfterthoughts" : true
164
+ }
165
+ ],
166
+ "no-process-env" : " error" ,
167
+ "no-process-exit" : " error" ,
168
+ "no-proto" : " error" ,
169
+ "no-prototype-builtins" : " error" ,
170
+ "no-restricted-globals" : " error" ,
171
+ "no-restricted-imports" : " error" ,
172
+ "no-restricted-modules" : " error" ,
173
+ "no-restricted-properties" : " error" ,
174
+ "no-restricted-syntax" : " error" ,
175
+ "no-return-assign" : " error" ,
176
+ "no-return-await" : " error" ,
177
+ "no-script-url" : " error" ,
178
+ "no-self-compare" : " error" ,
179
+ "no-sequences" : " error" ,
180
+ "no-shadow" : " error" ,
181
+ "no-shadow-restricted-names" : " error" ,
182
+ "no-spaced-func" : " error" ,
183
+ "no-sync" : " error" ,
184
+ "no-tabs" : " off" ,
185
+ "no-template-curly-in-string" : " error" ,
186
+ "no-ternary" : " off" ,
187
+ "no-throw-literal" : " error" ,
188
+ "no-trailing-spaces" : " off" ,
189
+ "no-undef-init" : " error" ,
190
+ "no-undefined" : " error" ,
191
+ "no-underscore-dangle" : " error" ,
192
+ "no-unmodified-loop-condition" : " error" ,
193
+ "no-unneeded-ternary" : " error" ,
194
+ "no-unused-expressions" : " error" ,
195
+ "no-use-before-define" : " off" ,
196
+ "no-useless-call" : " error" ,
197
+ "no-useless-computed-key" : " error" ,
198
+ "no-useless-concat" : " error" ,
199
+ "no-useless-constructor" : " error" ,
200
+ "no-useless-escape" : " off" ,
201
+ "no-useless-rename" : " error" ,
202
+ "no-useless-return" : " error" ,
203
+ "no-var" : " off" ,
204
+ "no-void" : " error" ,
205
+ "no-warning-comments" : " error" ,
206
+ "no-whitespace-before-property" : " error" ,
207
+ "no-with" : " error" ,
208
+ "object-curly-newline" : " off" ,
209
+ "object-curly-spacing" : [
210
+ " error" ,
211
+ " always"
212
+ ],
213
+ "object-property-newline" : [
214
+ " error" ,
215
+ {
216
+ "allowMultiplePropertiesPerLine" : true
217
+ }
218
+ ],
219
+ "object-shorthand" : " off" ,
220
+ "one-var" : " off" ,
221
+ "one-var-declaration-per-line" : " error" ,
222
+ "operator-assignment" : [
223
+ " error" ,
224
+ " always"
225
+ ],
226
+ "operator-linebreak" : " error" ,
227
+ "padded-blocks" : " off" ,
228
+ "prefer-arrow-callback" : " off" ,
229
+ "prefer-const" : " error" ,
230
+ "prefer-numeric-literals" : " error" ,
231
+ "prefer-reflect" : " off" ,
232
+ "prefer-rest-params" : " off" ,
233
+ "prefer-spread" : " error" ,
234
+ "prefer-template" : " off" ,
235
+ "quote-props" : " off" ,
236
+ "quotes" : " off" ,
237
+ "radix" : " error" ,
238
+ "require-await" : " error" ,
239
+ "require-jsdoc" : " off" ,
240
+ "rest-spread-spacing" : " error" ,
241
+ "semi" : " off" ,
242
+ "semi-spacing" : [
243
+ " error" ,
244
+ {
245
+ "after" : true ,
246
+ "before" : false
247
+ }
248
+ ],
249
+ "sort-imports" : " error" ,
250
+ "sort-keys" : " off" ,
251
+ "sort-vars" : " error" ,
252
+ "space-before-blocks" : " off" ,
253
+ "space-before-function-paren" : " off" ,
254
+ "space-in-parens" : [
255
+ " error" ,
256
+ " never"
257
+ ],
258
+ "space-infix-ops" : " off" ,
259
+ "space-unary-ops" : " error" ,
260
+ "spaced-comment" : " error" ,
261
+ "strict" : [
262
+ " error" ,
263
+ " never"
264
+ ],
265
+ "symbol-description" : " error" ,
266
+ "template-curly-spacing" : " error" ,
267
+ "unicode-bom" : [
268
+ " error" ,
269
+ " never"
270
+ ],
271
+ "valid-jsdoc" : " error" ,
272
+ "vars-on-top" : " off" ,
273
+ "wrap-iife" : " error" ,
274
+ "wrap-regex" : " error" ,
275
+ "yield-star-spacing" : " error" ,
276
+ "yoda" : [
277
+ " error" ,
278
+ " never"
279
+ ]
280
+ }
281
+ }
0 commit comments