@@ -34,61 +34,143 @@ overrides:
34
34
35
35
rules:
36
36
accessor-pairs: [2]
37
+ array-bracket-newline: [0]
37
38
array-bracket-spacing: [2, never]
39
+ array-callback-return: [0]
40
+ array-element-newline: [0]
41
+ arrow-body-style: [0]
38
42
arrow-parens: [2, always]
39
43
arrow-spacing: [2, {before: true, after: true}]
40
44
block-scoped-var: [2]
41
45
brace-style: [2, 1tbs, {allowSingleLine: true}]
46
+ callback-return: [0]
47
+ camelcase: [0]
48
+ capitalized-comments: [0]
49
+ class-methods-use-this: [0]
42
50
comma-dangle: [2, only-multiline]
43
51
comma-spacing: [2, {before: false, after: true}]
44
52
comma-style: [2, last]
53
+ complexity: [0]
45
54
computed-property-spacing: [2, never]
55
+ consistent-return: [0]
56
+ consistent-this: [0]
46
57
constructor-super: [2]
58
+ curly: [0]
47
59
default-case-last: [2]
60
+ default-case: [0]
61
+ default-param-last: [0]
48
62
dot-location: [2, property]
63
+ dot-notation: [0]
49
64
eol-last: [2]
50
65
eqeqeq: [2]
51
66
for-direction: [2]
52
67
func-call-spacing: [2, never]
53
68
func-name-matching: [2]
69
+ func-names: [0]
70
+ func-style: [0]
71
+ function-call-argument-newline: [0]
72
+ function-paren-newline: [0]
73
+ generator-star-spacing: [0]
54
74
getter-return: [2]
75
+ global-require: [0]
55
76
grouped-accessor-pairs: [2]
77
+ guard-for-in: [0]
78
+ handle-callback-err: [0]
79
+ id-blacklist: [0]
80
+ id-length: [0]
81
+ id-match: [0]
82
+ implicit-arrow-linebreak: [0]
83
+ import/default: [0]
84
+ import/dynamic-import-chunkname: [0]
56
85
import/export: [2]
86
+ import/exports-last: [0]
57
87
import/extensions: [2, always, {ignorePackages: true}]
58
88
import/first: [2]
89
+ import/group-exports: [0]
90
+ import/max-dependencies: [0]
59
91
import/named: [2]
92
+ import/namespace: [0]
93
+ import/newline-after-import: [0]
94
+ import/no-absolute-path: [0]
95
+ import/no-amd: [0]
96
+ import/no-anonymous-default-export: [0]
97
+ import/no-commonjs: [0]
98
+ import/no-cycle: [0]
99
+ import/no-default-export: [0]
100
+ import/no-deprecated: [0]
101
+ import/no-dynamic-require: [0]
60
102
import/no-extraneous-dependencies: [2]
103
+ import/no-internal-modules: [0]
61
104
import/no-mutable-exports: [2]
105
+ import/no-named-as-default-member: [0]
62
106
import/no-named-as-default: [2]
107
+ import/no-named-default: [0]
108
+ import/no-named-export: [0]
109
+ import/no-namespace: [0]
110
+ import/no-nodejs-modules: [0]
111
+ import/no-relative-parent-imports: [0]
112
+ import/no-restricted-paths: [0]
63
113
import/no-self-import: [2]
114
+ import/no-unassigned-import: [0]
64
115
import/no-unresolved: [2, {commonjs: true}]
116
+ import/no-unused-modules: [0]
65
117
import/no-useless-path-segments: [2, {commonjs: true}]
66
118
import/no-webpack-loader-syntax: [2]
119
+ import/order: [0]
120
+ import/prefer-default-export: [0]
121
+ import/unambiguous: [0]
67
122
indent: [2, 2, {ignoreComments: true, SwitchCase: 1}]
123
+ init-declarations: [0]
68
124
key-spacing: [2]
69
125
keyword-spacing: [2]
126
+ line-comment-position: [0]
70
127
linebreak-style: [2, unix]
128
+ lines-around-comment: [0]
129
+ lines-between-class-members: [0]
130
+ max-classes-per-file: [0]
131
+ max-depth: [0]
132
+ max-len: [0]
133
+ max-lines-per-function: [0]
134
+ max-lines: [0]
135
+ max-nested-callbacks: [0]
136
+ max-params: [0]
137
+ max-statements-per-line: [0]
138
+ max-statements: [0]
71
139
multiline-comment-style: [2, separate-lines]
140
+ multiline-ternary: [0]
141
+ new-cap: [0]
72
142
new-parens: [2]
143
+ newline-per-chained-call: [0]
144
+ no-alert: [0]
73
145
no-array-constructor: [2]
74
146
no-async-promise-executor: [2]
147
+ no-await-in-loop: [0]
148
+ no-bitwise: [0]
149
+ no-buffer-constructor: [0]
75
150
no-caller: [2]
76
151
no-case-declarations: [2]
77
152
no-class-assign: [2]
78
153
no-compare-neg-zero: [2]
79
154
no-cond-assign: [2, except-parens]
155
+ no-confusing-arrow: [0]
80
156
no-console: [1, {allow: [info, warn, error]}]
81
157
no-const-assign: [2]
158
+ no-constant-condition: [0]
82
159
no-constructor-return: [2]
160
+ no-continue: [0]
161
+ no-control-regex: [0]
83
162
no-debugger: [1]
84
163
no-delete-var: [2]
164
+ no-div-regex: [0]
85
165
no-dupe-args: [2]
86
166
no-dupe-class-members: [2]
87
167
no-dupe-else-if: [2]
88
168
no-dupe-keys: [2]
89
169
no-duplicate-case: [2]
90
170
no-duplicate-imports: [2]
171
+ no-else-return: [0]
91
172
no-empty-character-class: [2]
173
+ no-empty-function: [0]
92
174
no-empty-pattern: [2]
93
175
no-empty: [2, {allowEmptyCatch: true}]
94
176
no-eq-null: [2]
@@ -97,131 +179,234 @@ rules:
97
179
no-extend-native: [2]
98
180
no-extra-bind: [2]
99
181
no-extra-boolean-cast: [2]
182
+ no-extra-label: [0]
183
+ no-extra-parens: [0]
100
184
no-extra-semi: [2]
101
185
no-fallthrough: [2]
186
+ no-floating-decimal: [0]
102
187
no-func-assign: [2]
103
188
no-global-assign: [2]
189
+ no-implicit-coercion: [0]
190
+ no-implicit-globals: [0]
104
191
no-implied-eval: [2]
105
192
no-import-assign: [2]
193
+ no-inline-comments: [0]
106
194
no-inner-declarations: [2]
107
195
no-invalid-regexp: [2]
196
+ no-invalid-this: [0]
108
197
no-irregular-whitespace: [2]
109
198
no-iterator: [2]
110
199
no-label-var: [2]
111
200
no-labels: [2]
112
201
no-lone-blocks: [2]
202
+ no-lonely-if: [0]
203
+ no-loop-func: [0]
113
204
no-loss-of-precision: [2]
205
+ no-magic-numbers: [0]
114
206
no-misleading-character-class: [2]
207
+ no-mixed-operators: [0]
208
+ no-mixed-requires: [0]
115
209
no-mixed-spaces-and-tabs: [2]
210
+ no-multi-assign: [0]
116
211
no-multi-spaces: [2, {ignoreEOLComments: true, exceptions: {Property: true, VariableDeclarator: true}}]
117
212
no-multi-str: [2]
213
+ no-negated-condition: [0]
214
+ no-nested-ternary: [0]
118
215
no-new-func: [2]
119
216
no-new-object: [2]
217
+ no-new-require: [0]
120
218
no-new-symbol: [2]
121
219
no-new-wrappers: [2]
220
+ no-new: [0]
122
221
no-obj-calls: [2]
123
222
no-octal-escape: [2]
124
223
no-octal: [2]
224
+ no-param-reassign: [0]
225
+ no-path-concat: [0]
226
+ no-process-env: [0]
227
+ no-process-exit: [0]
125
228
no-proto: [2]
126
229
no-prototype-builtins: [2]
127
230
no-redeclare: [2]
128
231
no-regex-spaces: [2]
232
+ no-restricted-exports: [0]
233
+ no-restricted-globals: [0]
234
+ no-restricted-imports: [0]
235
+ no-restricted-modules: [0]
129
236
no-restricted-syntax: [2, WithStatement, ForInStatement, LabeledStatement]
237
+ no-return-assign: [0]
238
+ no-return-await: [0]
130
239
no-script-url: [2]
131
240
no-self-assign: [2, {props: true}]
132
241
no-self-compare: [2]
133
242
no-sequences: [2]
134
243
no-setter-return: [2]
135
244
no-shadow-restricted-names: [2]
245
+ no-shadow: [0]
136
246
no-sparse-arrays: [2]
247
+ no-sync: [0]
137
248
no-tabs: [2]
138
249
no-template-curly-in-string: [2]
250
+ no-ternary: [0]
139
251
no-this-before-super: [2]
140
252
no-throw-literal: [2]
141
253
no-trailing-spaces: [2]
142
254
no-undef-init: [2]
143
255
no-undef: [2, {typeof: true}]
256
+ no-undefined: [0]
257
+ no-underscore-dangle: [0]
144
258
no-unexpected-multiline: [2]
145
259
no-unmodified-loop-condition: [2]
260
+ no-unneeded-ternary: [0]
146
261
no-unreachable: [2]
147
262
no-unsafe-finally: [2]
148
263
no-unsafe-negation: [2]
149
264
no-unused-expressions: [2]
150
265
no-unused-labels: [2]
151
266
no-unused-vars: [2, {args: all, argsIgnorePattern: ^_, varsIgnorePattern: ^_, caughtErrorsIgnorePattern: ^_, ignoreRestSiblings: false}]
152
267
no-use-before-define: [2, nofunc]
268
+ no-useless-backreference: [0]
153
269
no-useless-call: [2]
154
270
no-useless-catch: [2]
155
271
no-useless-computed-key: [2]
156
272
no-useless-concat: [2]
157
273
no-useless-constructor: [2]
158
274
no-useless-escape: [2]
159
275
no-useless-rename: [2]
276
+ no-useless-return: [0]
160
277
no-var: [2]
161
278
no-void: [2]
279
+ no-warning-comments: [0]
162
280
no-whitespace-before-property: [2]
163
281
no-with: [2]
164
282
nonblock-statement-body-position: [2]
283
+ object-curly-newline: [0]
165
284
object-curly-spacing: [2, never]
166
285
object-shorthand: [2, always]
286
+ one-var-declaration-per-line: [0]
287
+ one-var: [0]
167
288
operator-assignment: [2, always]
168
289
operator-linebreak: [2, after]
169
290
padded-blocks: [2, never]
291
+ padding-line-between-statements: [0]
170
292
prefer-arrow-callback: [2, {allowNamedFunctions: true, allowUnboundThis: true}]
171
293
prefer-const: [2, {destructuring: all}]
294
+ prefer-destructuring: [0]
172
295
prefer-exponentiation-operator: [2]
296
+ prefer-named-capture-group: [0]
173
297
prefer-numeric-literals: [2]
298
+ prefer-object-spread: [0]
174
299
prefer-promise-reject-errors: [2, {allowEmptyReject: false}]
175
300
prefer-regex-literals: [2]
176
301
prefer-rest-params: [2]
177
302
prefer-spread: [2]
178
303
prefer-template: [2]
304
+ quote-props: [0]
179
305
quotes: [2, single, {avoidEscape: true, allowTemplateLiterals: true}]
180
306
radix: [2, as-needed]
307
+ require-atomic-updates: [0]
308
+ require-await: [0]
309
+ require-unicode-regexp: [0]
181
310
require-yield: [2]
182
311
rest-spread-spacing: [2, never]
183
312
semi-spacing: [2, {before: false, after: true}]
184
313
semi-style: [2, last]
185
314
semi: [2, always, {omitLastInOneLineBlock: true}]
315
+ sonarjs/cognitive-complexity: [0]
316
+ sonarjs/max-switch-cases: [0]
186
317
sonarjs/no-all-duplicated-branches: [2]
318
+ sonarjs/no-collapsible-if: [0]
187
319
sonarjs/no-collection-size-mischeck: [2]
320
+ sonarjs/no-duplicate-string: [0]
321
+ sonarjs/no-duplicated-branches: [0]
188
322
sonarjs/no-element-overwrite: [2]
323
+ sonarjs/no-extra-arguments: [0]
189
324
sonarjs/no-identical-conditions: [2]
325
+ sonarjs/no-identical-expressions: [0]
326
+ sonarjs/no-identical-functions: [0]
190
327
sonarjs/no-inverted-boolean-check: [2]
191
328
sonarjs/no-one-iteration-loop: [2]
192
329
sonarjs/no-redundant-boolean: [2]
330
+ sonarjs/no-redundant-jump: [0]
193
331
sonarjs/no-same-line-conditional: [2]
332
+ sonarjs/no-small-switch: [0]
194
333
sonarjs/no-unused-collection: [2]
195
334
sonarjs/no-use-of-empty-return-value: [2]
335
+ sonarjs/no-useless-catch: [0]
336
+ sonarjs/prefer-immediate-return: [0]
196
337
sonarjs/prefer-object-literal: [2]
338
+ sonarjs/prefer-single-boolean-return: [0]
197
339
sonarjs/prefer-while: [2]
340
+ sort-imports: [0]
341
+ sort-keys: [0]
342
+ sort-vars: [0]
198
343
space-before-blocks: [2, always]
199
344
space-in-parens: [2, never]
200
345
space-infix-ops: [2]
201
346
space-unary-ops: [2]
202
347
spaced-comment: [2, always]
348
+ strict: [0]
203
349
switch-colon-spacing: [2]
204
350
symbol-description: [2]
205
351
template-curly-spacing: [2, never]
206
352
template-tag-spacing: [2, never]
207
353
unicode-bom: [2, never]
354
+ unicorn/better-regex: [0]
355
+ unicorn/catch-error-name: [0]
208
356
unicorn/consistent-function-scoping: [2]
357
+ unicorn/custom-error-definition: [0]
358
+ unicorn/error-message: [0]
359
+ unicorn/escape-case: [0]
360
+ unicorn/expiring-todo-comments: [0]
361
+ unicorn/explicit-length-check: [0]
362
+ unicorn/filename-case: [0]
363
+ unicorn/import-index: [0]
209
364
unicorn/new-for-builtins: [2]
365
+ unicorn/no-abusive-eslint-disable: [0]
366
+ unicorn/no-array-instanceof: [0]
367
+ unicorn/no-console-spaces: [0]
368
+ unicorn/no-fn-reference-in-iterator: [0]
369
+ unicorn/no-for-loop: [0]
370
+ unicorn/no-hex-escape: [0]
371
+ unicorn/no-keyword-prefix: [0]
372
+ unicorn/no-nested-ternary: [0]
373
+ unicorn/no-new-buffer: [0]
374
+ unicorn/no-null: [0]
375
+ unicorn/no-process-exit: [0]
210
376
unicorn/no-reduce: [2]
377
+ unicorn/no-unreadable-array-destructuring: [0]
378
+ unicorn/no-unsafe-regex: [0]
211
379
unicorn/no-unused-properties: [2]
380
+ unicorn/no-useless-undefined: [0]
212
381
unicorn/no-zero-fractions: [2]
382
+ unicorn/number-literal-case: [0]
213
383
unicorn/prefer-add-event-listener: [2]
214
384
unicorn/prefer-dataset: [2]
215
385
unicorn/prefer-event-key: [2]
216
386
unicorn/prefer-includes: [2]
387
+ unicorn/prefer-modern-dom-apis: [0]
217
388
unicorn/prefer-negative-index: [2]
389
+ unicorn/prefer-node-append: [0]
390
+ unicorn/prefer-node-remove: [0]
391
+ unicorn/prefer-number-properties: [0]
218
392
unicorn/prefer-optional-catch-binding: [2]
393
+ unicorn/prefer-query-selector: [0]
394
+ unicorn/prefer-reflect-apply: [0]
395
+ unicorn/prefer-replace-all: [0]
396
+ unicorn/prefer-set-has: [0]
397
+ unicorn/prefer-spread: [0]
219
398
unicorn/prefer-starts-ends-with: [2]
399
+ unicorn/prefer-string-slice: [0]
220
400
unicorn/prefer-text-content: [2]
221
401
unicorn/prefer-trim-start-end: [2]
402
+ unicorn/prefer-type-error: [0]
403
+ unicorn/prevent-abbreviations: [0]
404
+ unicorn/string-content: [0]
222
405
unicorn/throw-new-error: [2]
223
406
use-isnan: [2]
224
407
valid-typeof: [2, {requireStringLiterals: true}]
408
+ vars-on-top: [0]
225
409
wrap-iife: [2, inside]
410
+ wrap-regex: [0]
226
411
yield-star-spacing: [2, after]
227
412
yoda: [2, never]
0 commit comments