-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
606 lines (606 loc) · 24.4 KB
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
module.exports = {
env: {
browser: true,
node: true,
},
extends: [
"eslint:all",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"plugin:react/recommended",
"plugin:jsdoc/recommended",
"plugin:unicorn/recommended",
"prettier",
],
parser: "@typescript-eslint/parser",
parserOptions: {
project: "tsconfig.json",
tsconfigRootDir: __dirname,
sourceType: "module",
ecmaFeatures: {
jsx: true,
},
},
plugins: ["@typescript-eslint", "import", "jsdoc", "unicorn"],
settings: {
react: {
version: "detect",
},
jsdoc: {
ignoreInternal: true,
},
},
rules: {
"@typescript-eslint/adjacent-overload-signatures": ["error"],
"@typescript-eslint/array-type": ["error"],
"@typescript-eslint/await-thenable": ["error"],
"@typescript-eslint/ban-ts-comment": ["error"],
"@typescript-eslint/ban-types": ["error"],
"@typescript-eslint/brace-style": ["error"],
"@typescript-eslint/class-literal-property-style": ["error"],
"@typescript-eslint/comma-spacing": ["error"],
"@typescript-eslint/consistent-type-assertions": ["error"],
"@typescript-eslint/consistent-type-definitions": ["error"],
"@typescript-eslint/default-param-last": ["error"],
"@typescript-eslint/dot-notation": ["error"],
"@typescript-eslint/explicit-function-return-type": ["off"],
"@typescript-eslint/explicit-member-accessibility": [
"error",
{
overrides: {
constructors: "no-public",
},
},
],
"@typescript-eslint/explicit-module-boundary-types": ["off"],
"@typescript-eslint/func-call-spacing": ["error"],
"@typescript-eslint/indent": ["off"],
"@typescript-eslint/init-declarations": ["off"],
"@typescript-eslint/keyword-spacing": ["error"],
"@typescript-eslint/lines-between-class-members": ["error"],
"@typescript-eslint/member-delimiter-style": ["error"],
"@typescript-eslint/member-ordering": ["error"],
"@typescript-eslint/method-signature-style": ["off"],
"@typescript-eslint/naming-convention": [
"error",
{
selector: "variable",
format: ["camelCase", "UPPER_CASE", "PascalCase"],
},
],
"@typescript-eslint/no-array-constructor": ["error"],
"@typescript-eslint/no-base-to-string": ["error"],
"@typescript-eslint/no-dupe-class-members": ["error"],
"@typescript-eslint/no-dynamic-delete": ["off"],
"@typescript-eslint/no-empty-function": ["off"],
"@typescript-eslint/no-empty-interface": ["error"],
"@typescript-eslint/no-explicit-any": ["error"],
"@typescript-eslint/no-extra-non-null-assertion": ["error"],
"@typescript-eslint/no-extra-parens": ["off"],
"@typescript-eslint/no-extra-semi": ["error"],
"@typescript-eslint/no-extraneous-class": ["off"],
"@typescript-eslint/no-floating-promises": ["error"],
"@typescript-eslint/no-for-in-array": ["error"],
"@typescript-eslint/no-implied-eval": ["error"],
"@typescript-eslint/no-inferrable-types": ["off"],
"@typescript-eslint/no-invalid-this": ["error"],
"@typescript-eslint/no-invalid-void-type": ["error"],
"@typescript-eslint/no-magic-numbers": ["off"],
"@typescript-eslint/no-misused-new": ["error"],
"@typescript-eslint/no-misused-promises": [
"error",
{
checksVoidReturn: false,
},
],
"@typescript-eslint/no-namespace": ["error"],
"@typescript-eslint/no-non-null-asserted-optional-chain": ["error"],
"@typescript-eslint/no-non-null-assertion": ["error"],
"@typescript-eslint/no-parameter-properties": ["error"],
"@typescript-eslint/no-require-imports": ["error"],
"@typescript-eslint/no-shadow": ["error"],
"@typescript-eslint/no-this-alias": ["error"],
"@typescript-eslint/no-throw-literal": ["error"],
"@typescript-eslint/no-type-alias": ["off"],
"@typescript-eslint/no-unnecessary-boolean-literal-compare": ["error"],
"@typescript-eslint/no-unnecessary-condition": ["off"],
"@typescript-eslint/no-unnecessary-qualifier": ["error"],
"@typescript-eslint/no-unnecessary-type-arguments": ["error"],
"@typescript-eslint/no-unnecessary-type-assertion": ["error"],
"@typescript-eslint/no-unsafe-assignment": ["off"],
"@typescript-eslint/no-unsafe-call": ["off"],
"@typescript-eslint/no-unsafe-member-access": ["off"],
"@typescript-eslint/no-unsafe-return": ["error"],
"@typescript-eslint/no-unused-expressions": ["error"],
"@typescript-eslint/no-unused-vars": [
"error",
{
args: "none",
},
],
"@typescript-eslint/no-unused-vars-experimental": ["off"],
"@typescript-eslint/no-use-before-define": ["off"],
"@typescript-eslint/no-useless-constructor": ["error"],
"@typescript-eslint/no-var-requires": ["error"],
"@typescript-eslint/prefer-as-const": ["error"],
"@typescript-eslint/prefer-for-of": ["off"],
"@typescript-eslint/prefer-function-type": ["error"],
"@typescript-eslint/prefer-includes": ["error"],
"@typescript-eslint/prefer-namespace-keyword": ["error"],
"@typescript-eslint/prefer-nullish-coalescing": ["error"],
"@typescript-eslint/prefer-optional-chain": ["error"],
"@typescript-eslint/prefer-readonly": ["error"],
"@typescript-eslint/prefer-readonly-parameter-types": ["off"],
"@typescript-eslint/prefer-reduce-type-parameter": ["error"],
"@typescript-eslint/prefer-regexp-exec": ["error"],
"@typescript-eslint/prefer-string-starts-ends-with": ["error"],
"@typescript-eslint/prefer-ts-expect-error": ["error"],
"@typescript-eslint/promise-function-async": ["error"],
"@typescript-eslint/quotes": ["error"],
"@typescript-eslint/require-array-sort-compare": ["off"],
"@typescript-eslint/require-await": ["off"],
"@typescript-eslint/restrict-plus-operands": ["error"],
"@typescript-eslint/restrict-template-expressions": ["off"],
"@typescript-eslint/return-await": ["error"],
"@typescript-eslint/semi": ["error"],
"@typescript-eslint/space-before-function-paren": [
"error",
{
anonymous: "never",
named: "never",
asyncArrow: "always",
},
],
"@typescript-eslint/strict-boolean-expressions": ["off"],
"@typescript-eslint/switch-exhaustiveness-check": ["error"],
"@typescript-eslint/triple-slash-reference": ["error"],
"@typescript-eslint/type-annotation-spacing": ["error"],
"@typescript-eslint/typedef": [
"error",
{
arrowParameter: false,
},
],
"@typescript-eslint/unbound-method": ["error"],
"@typescript-eslint/unified-signatures": ["error"],
"accessor-pairs": ["error"],
"array-bracket-newline": ["error"],
"array-bracket-spacing": ["error"],
"array-element-newline": ["off"],
"arrow-body-style": ["error"],
"arrow-parens": ["error", "as-needed"],
"arrow-spacing": ["error"],
"block-scoped-var": ["error"],
"block-spacing": ["error"],
"brace-style": ["off"],
"callback-return": ["off"],
camelcase: ["error"],
"capitalized-comments": ["off"],
"class-methods-use-this": ["off"],
"comma-dangle": ["error", "always-multiline"],
"comma-spacing": ["off"],
"comma-style": ["error"],
complexity: ["off"],
"computed-property-spacing": ["error"],
"consistent-return": ["off"],
"consistent-this": ["error"],
"constructor-super": ["off"],
curly: ["error"],
"default-case": ["error"],
"default-param-last": ["off"],
"dot-location": ["error", "property"],
"dot-notation": ["off"],
"eol-last": ["error"],
eqeqeq: ["error"],
"for-direction": ["error"],
"func-call-spacing": ["off"],
"func-name-matching": ["error"],
"func-names": ["error"],
"func-style": ["off"],
"function-call-argument-newline": ["off"],
"function-paren-newline": ["off"],
"generator-star-spacing": ["error"],
"getter-return": ["off"],
"grouped-accessor-pairs": ["error"],
"guard-for-in": ["off"],
"id-blacklist": ["error"],
"id-length": ["off"],
"id-match": ["error"],
"implicit-arrow-linebreak": ["off"],
"import/default": ["error"],
"import/export": ["error"],
"import/named": ["off"],
"import/namespace": ["error"],
"import/no-duplicates": ["warn"],
"import/no-named-as-default": ["warn"],
"import/no-named-as-default-member": ["warn"],
"import/no-unresolved": ["error"],
"import/order": [
"error",
{
groups: [
["external", "builtin"],
["internal", "index", "sibling", "parent"],
],
alphabetize: {
order: "asc",
caseInsensitive: true,
},
},
],
indent: ["off"],
"init-declarations": ["off"],
"jsx-quotes": ["error"],
"key-spacing": ["error"],
"keyword-spacing": ["off"],
"line-comment-position": ["off"],
"linebreak-style": ["off"],
"lines-around-comment": ["off"],
"lines-between-class-members": ["off"],
"max-classes-per-file": ["error"],
"max-depth": ["off"],
"max-len": [
"error",
{
ignorePattern: "^import",
code: 120,
},
],
"max-lines": ["off"],
"max-lines-per-function": ["off"],
"max-nested-callbacks": ["error"],
"max-params": ["off"],
"max-statements": ["off"],
"max-statements-per-line": ["error"],
"multiline-comment-style": ["off"],
"multiline-ternary": ["off"],
"new-cap": ["error"],
"new-parens": ["error"],
"newline-per-chained-call": ["error"],
"no-alert": ["error"],
"no-array-constructor": ["off"],
"no-async-promise-executor": ["error"],
"no-await-in-loop": ["off"],
"no-bitwise": ["error"],
"no-caller": ["error"],
"no-case-declarations": ["error"],
"no-class-assign": ["error"],
"no-compare-neg-zero": ["error"],
"no-cond-assign": ["error"],
"no-confusing-arrow": ["error"],
"no-console": ["off"],
"no-const-assign": ["off"],
"no-constant-condition": ["error"],
"no-constructor-return": ["error"],
"no-continue": ["off"],
"no-control-regex": ["error"],
"no-debugger": ["error"],
"no-delete-var": ["error"],
"no-div-regex": ["error"],
"no-dupe-args": ["off"],
"no-dupe-class-members": ["off"],
"no-dupe-else-if": ["error"],
"no-dupe-keys": ["off"],
"no-duplicate-case": ["error"],
"no-duplicate-imports": ["error"],
"no-else-return": ["error"],
"no-empty": ["off"],
"no-empty-character-class": ["error"],
"no-empty-function": ["off"],
"no-empty-pattern": ["error"],
"no-eq-null": ["error"],
"no-eval": ["error"],
"no-ex-assign": ["error"],
"no-extend-native": ["error"],
"no-extra-bind": ["error"],
"no-extra-boolean-cast": ["error"],
"no-extra-label": ["error"],
"no-extra-parens": ["off"],
"no-extra-semi": ["off"],
"no-fallthrough": ["error"],
"no-floating-decimal": ["error"],
"no-func-assign": ["off"],
"no-global-assign": ["error"],
"no-implicit-coercion": ["error"],
"no-implicit-globals": ["error"],
"no-implied-eval": ["error"],
"no-import-assign": ["off"],
"no-inline-comments": ["off"],
"no-inner-declarations": ["error"],
"no-invalid-regexp": ["error"],
"no-invalid-this": ["off"],
"no-irregular-whitespace": ["error"],
"no-iterator": ["error"],
"no-label-var": ["error"],
"no-labels": ["error"],
"no-lone-blocks": ["error"],
"no-lonely-if": ["error"],
"no-loop-func": ["off"],
"no-loss-of-precision": ["off"],
"no-magic-numbers": ["off"],
"no-misleading-character-class": ["error"],
"no-mixed-operators": ["error"],
"no-mixed-spaces-and-tabs": ["error"],
"no-multi-assign": ["error"],
"no-multi-spaces": ["error"],
"no-multi-str": ["error"],
"no-multiple-empty-lines": ["error"],
"no-negated-condition": ["off"],
"no-nested-ternary": ["off"],
"no-new": ["error"],
"no-new-func": ["error"],
"no-new-object": ["error"],
"no-new-symbol": ["off"],
"no-new-wrappers": ["error"],
"no-obj-calls": ["off"],
"no-octal": ["error"],
"no-octal-escape": ["error"],
"no-param-reassign": ["off"],
"no-plusplus": ["off"],
"no-proto": ["error"],
"no-prototype-builtins": ["error"],
"no-redeclare": ["off"],
"no-regex-spaces": ["error"],
"no-restricted-globals": ["error"],
"no-restricted-imports": ["error"],
"no-restricted-properties": ["error"],
"no-restricted-syntax": ["error"],
"no-return-assign": ["error"],
"no-return-await": ["off"],
"no-script-url": ["error"],
"no-self-assign": ["error"],
"no-self-compare": ["error"],
"no-sequences": ["error"],
"no-setter-return": ["off"],
"no-shadow": ["off"],
"no-shadow-restricted-names": ["error"],
"no-sparse-arrays": ["error"],
"no-tabs": ["error"],
"no-template-curly-in-string": ["error"],
"no-ternary": ["off"],
"no-this-before-super": ["off"],
"no-throw-literal": ["error"],
"no-trailing-spaces": ["error"],
"no-undef": ["off"],
"no-undef-init": ["error"],
"no-undefined": ["off"],
"no-underscore-dangle": ["off"],
"no-unexpected-multiline": ["error"],
"no-unmodified-loop-condition": ["error"],
"no-unneeded-ternary": ["error"],
"no-unreachable": ["off"],
"no-unsafe-finally": ["error"],
"no-unsafe-negation": ["off"],
"no-unused-expressions": ["off"],
"no-unused-labels": ["error"],
"no-unused-vars": [
"error",
{
args: "none",
},
],
"no-use-before-define": ["off"],
"no-useless-call": ["error"],
"no-useless-catch": ["error"],
"no-useless-computed-key": ["error"],
"no-useless-concat": ["error"],
"no-useless-constructor": ["off"],
"no-useless-escape": ["error"],
"no-useless-rename": ["error"],
"no-useless-return": ["error"],
"no-var": ["error"],
"no-void": ["error"],
"no-warning-comments": ["error"],
"no-whitespace-before-property": ["error"],
"no-with": ["error"],
"nonblock-statement-body-position": ["error"],
"object-curly-newline": ["error"],
"object-curly-spacing": ["error", "always"],
"object-property-newline": ["off"],
"object-shorthand": ["error"],
"one-var": ["error", "never"],
"one-var-declaration-per-line": ["error"],
"operator-assignment": ["error"],
"operator-linebreak": ["error", "after", { overrides: { "?": "ignore", ":": "ignore" } }],
"padded-blocks": ["error", "never"],
"padding-line-between-statements": ["error"],
"prefer-arrow-callback": ["error"],
"prefer-const": ["error"],
"prefer-destructuring": ["off"],
"prefer-exponentiation-operator": ["off"],
"prefer-named-capture-group": ["off"],
"prefer-numeric-literals": ["error"],
"prefer-object-spread": ["error"],
"prefer-promise-reject-errors": ["error"],
"prefer-regex-literals": ["error"],
"prefer-rest-params": ["error"],
"prefer-spread": ["error"],
"prefer-template": ["error"],
"quote-props": ["off"],
quotes: ["off"],
radix: ["error"],
"react/boolean-prop-naming": [2],
"react/button-has-type": [2],
"react/default-props-match-prop-types": [2],
"react/destructuring-assignment": ["off"],
"react/display-name": [2],
"react/forbid-component-props": ["off"],
"react/forbid-dom-props": [2],
"react/forbid-elements": [2],
"react/forbid-foreign-prop-types": [2],
"react/forbid-prop-types": [2],
"react/function-component-definition": [2, { namedComponents: ["function-declaration", "arrow-function"] }],
"react/jsx-boolean-value": ["off"],
"react/jsx-child-element-spacing": [2],
"react/jsx-closing-bracket-location": [2],
"react/jsx-closing-tag-location": [2],
"react/jsx-curly-brace-presence": [2],
"react/jsx-curly-newline": [2],
"react/jsx-curly-spacing": [2],
"react/jsx-equals-spacing": [2],
"react/jsx-filename-extension": [
"error",
{
extensions: [".tsx", ".jsx"],
},
],
"react/jsx-first-prop-new-line": [2],
"react/jsx-fragments": ["error", "element"],
"react/jsx-handler-names": [2],
"react/jsx-indent": [2],
"react/jsx-indent-props": [2],
"react/jsx-key": [2],
"react/jsx-max-depth": ["off"],
"react/jsx-max-props-per-line": ["off"],
"react/jsx-no-bind": ["off"],
"react/jsx-no-comment-textnodes": [2],
"react/jsx-no-duplicate-props": [2],
"react/jsx-no-literals": ["off"],
"react/jsx-no-script-url": [2],
"react/jsx-no-target-blank": [2],
"react/jsx-no-undef": [2],
"react/jsx-no-useless-fragment": [2],
"react/jsx-one-expression-per-line": ["off"],
"react/jsx-pascal-case": [2],
"react/jsx-props-no-multi-spaces": [2],
"react/jsx-props-no-spreading": ["off"],
"react/jsx-sort-default-props": [2],
"react/jsx-sort-props": ["off"],
"react/jsx-tag-spacing": [2],
"react/jsx-uses-react": [2],
"react/jsx-uses-vars": [2],
"react/jsx-wrap-multilines": [2],
"react/no-access-state-in-setstate": ["off"],
"react/no-adjacent-inline-elements": [2],
"react/no-array-index-key": ["off"],
"react/no-children-prop": [2],
"react/no-danger": ["off"],
"react/no-danger-with-children": [2],
"react/no-deprecated": [2],
"react/no-did-mount-set-state": ["off"],
"react/no-did-update-set-state": ["off"],
"react/no-direct-mutation-state": [2],
"react/no-find-dom-node": [2],
"react/no-is-mounted": [2],
"react/no-multi-comp": [2],
"react/no-redundant-should-component-update": [2],
"react/no-render-return-value": [2],
"react/no-set-state": ["off"],
"react/no-string-refs": [2],
"react/no-this-in-sfc": [2],
"react/no-typos": [2],
"react/no-unescaped-entities": [2],
"react/no-unknown-property": [2],
"react/no-unsafe": [2],
"react/no-unused-prop-types": [2],
"react/no-unused-state": [2],
"react/no-will-update-set-state": [2],
"react/prefer-es6-class": [2],
"react/prefer-read-only-props": [2],
"react/prefer-stateless-function": ["off"],
"react/prop-types": [2],
"react/react-in-jsx-scope": [2],
"react/require-default-props": [2],
"react/require-optimization": ["off"],
"react/require-render-return": [2],
"react/self-closing-comp": [2],
"react/sort-comp": ["off"],
"react/sort-prop-types": [2],
"react/state-in-constructor": [2],
"react/static-property-placement": [2],
"react/style-prop-object": [2],
"react/void-dom-elements-no-children": [2],
"require-atomic-updates": ["off"],
"require-await": ["off"],
"require-unicode-regexp": ["off"],
"require-yield": ["error"],
"rest-spread-spacing": ["error"],
semi: ["off"],
"semi-spacing": ["error"],
"semi-style": ["error"],
"sort-imports": ["off"],
"sort-keys": ["off"],
"sort-vars": ["error"],
"space-before-blocks": ["error"],
"space-before-function-paren": ["off"],
"space-in-parens": ["error"],
"space-infix-ops": ["error"],
"space-unary-ops": ["error"],
"spaced-comment": ["error"],
strict: ["error"],
"switch-colon-spacing": ["error"],
"symbol-description": ["error"],
"template-curly-spacing": ["error"],
"template-tag-spacing": ["error"],
"unicode-bom": ["error"],
"unicorn/better-regex": ["error"],
"unicorn/catch-error-name": ["off"],
"unicorn/consistent-function-scoping": ["error"],
"unicorn/custom-error-definition": ["off"],
"unicorn/error-message": ["error"],
"unicorn/escape-case": ["error"],
"unicorn/expiring-todo-comments": ["error"],
"unicorn/explicit-length-check": ["error"],
"unicorn/filename-case": ["off"],
"unicorn/import-index": ["error"],
"unicorn/new-for-builtins": ["error"],
"unicorn/no-abusive-eslint-disable": ["error"],
"unicorn/no-array-instanceof": ["error"],
"unicorn/no-console-spaces": ["error"],
"unicorn/no-fn-reference-in-iterator": ["error"],
"unicorn/no-for-loop": ["off"],
"unicorn/no-hex-escape": ["error"],
"unicorn/no-keyword-prefix": ["off"],
"unicorn/no-nested-ternary": ["error"],
"unicorn/no-new-buffer": ["error"],
"unicorn/no-null": ["off"],
"unicorn/no-process-exit": ["error"],
"unicorn/no-reduce": ["off"],
"unicorn/no-unreadable-array-destructuring": ["error"],
"unicorn/no-unsafe-regex": ["off"],
"unicorn/no-unused-properties": ["off"],
"unicorn/no-useless-undefined": ["error"],
"unicorn/no-zero-fractions": ["error"],
"unicorn/number-literal-case": ["error"],
"unicorn/numeric-separators-style": ["off"],
"unicorn/prefer-add-event-listener": ["error"],
"unicorn/prefer-dataset": ["error"],
"unicorn/prefer-event-key": ["error"],
"unicorn/prefer-flat-map": ["error"],
"unicorn/prefer-includes": ["error"],
"unicorn/prefer-modern-dom-apis": ["error"],
"unicorn/prefer-module": ["off"],
"unicorn/prefer-negative-index": ["error"],
"unicorn/prefer-node-append": ["error"],
"unicorn/prefer-node-remove": ["error"],
"unicorn/prefer-number-properties": ["error"],
"unicorn/prefer-optional-catch-binding": ["error"],
"unicorn/prefer-query-selector": ["error"],
"unicorn/prefer-reflect-apply": ["error"],
"unicorn/prefer-replace-all": ["off"],
"unicorn/prefer-set-has": ["error"],
"unicorn/prefer-spread": ["off"],
"unicorn/prefer-starts-ends-with": ["error"],
"unicorn/prefer-string-slice": ["error"],
"unicorn/prefer-switch": ["off"],
"unicorn/prefer-text-content": ["error"],
"unicorn/prefer-trim-start-end": ["error"],
"unicorn/prefer-type-error": ["error"],
"unicorn/prevent-abbreviations": ["off"],
"unicorn/string-content": ["off"],
"unicorn/throw-new-error": ["error"],
"use-isnan": ["error"],
"valid-typeof": ["off"],
"vars-on-top": ["error"],
"wrap-iife": ["error"],
"wrap-regex": ["off"],
"yield-star-spacing": ["error"],
yoda: ["error"],
"jsdoc/newline-after-description": "off",
"jsdoc/require-param-type": "off",
"jsdoc/require-returns-type": "off",
},
};