@@ -57,6 +57,7 @@ const nurseryRules = {
57
57
'import/export' : 'off' ,
58
58
'import/no-deprecated' : 'off' ,
59
59
'import/no-unused-modules' : 'off' ,
60
+ 'promise/no-return-in-finally' : 'off' ,
60
61
'react/require-render-return' : 'off' ,
61
62
'react/rules-of-hooks' : 'off' ,
62
63
'tree-shaking/no-side-effects-in-initialization' : 'off' ,
@@ -67,7 +68,6 @@ const restrictionRules = {
67
68
'no-bitwise' : 'off' ,
68
69
'no-console' : 'off' ,
69
70
'no-empty-function' : 'off' ,
70
- 'no-eq-null' : 'off' ,
71
71
'no-eval' : 'off' ,
72
72
'no-iterator' : 'off' ,
73
73
'no-proto' : 'off' ,
@@ -97,7 +97,6 @@ const restrictionRules = {
97
97
'unicorn/no-anonymous-default-export' : 'off' ,
98
98
'unicorn/no-array-for-each' : 'off' ,
99
99
'unicorn/no-array-reduce' : 'off' ,
100
- 'unicorn/no-length-as-slice-end' : 'off' ,
101
100
'unicorn/no-magic-array-flat-depth' : 'off' ,
102
101
'unicorn/no-process-exit' : 'off' ,
103
102
'unicorn/prefer-number-properties' : 'off' ,
@@ -136,6 +135,7 @@ const styleRules = {
136
135
'jest/require-hook' : 'off' ,
137
136
'jest/require-top-level-describe' : 'off' ,
138
137
'promise/param-names' : 'off' ,
138
+ 'promise/prefer-await-to-then' : 'off' ,
139
139
'react/jsx-curly-brace-presence' : 'off' ,
140
140
'react/no-set-state' : 'off' ,
141
141
'react/prefer-es6-class' : 'off' ,
@@ -193,7 +193,6 @@ const correctnessRules = {
193
193
'no-async-promise-executor' : 'off' ,
194
194
'no-caller' : 'off' ,
195
195
'no-class-assign' : 'off' ,
196
- 'no-compare-neg-zero' : 'off' ,
197
196
'no-cond-assign' : 'off' ,
198
197
'no-const-assign' : 'off' ,
199
198
'no-constant-binary-expression' : 'off' ,
@@ -264,7 +263,6 @@ const correctnessRules = {
264
263
'jsx-a11y/media-has-caption' : 'off' ,
265
264
'jsx-a11y/mouse-events-have-key-events' : 'off' ,
266
265
'jsx-a11y/no-access-key' : 'off' ,
267
- 'jsx-a11y/no-aria-hidden-on-focusable' : 'off' ,
268
266
'jsx-a11y/no-distracting-elements' : 'off' ,
269
267
'jsx-a11y/no-redundant-roles' : 'off' ,
270
268
'jsx-a11y/prefer-tag-over-role' : 'off' ,
@@ -292,6 +290,7 @@ const correctnessRules = {
292
290
'nextjs/no-title-in-document-head' : 'off' ,
293
291
'nextjs/no-typos' : 'off' ,
294
292
'nextjs/no-unwanted-polyfillio' : 'off' ,
293
+ 'promise/valid-params' : 'off' ,
295
294
'react/jsx-key' : 'off' ,
296
295
'react/jsx-no-duplicate-props' : 'off' ,
297
296
'react/jsx-no-target-blank' : 'off' ,
@@ -326,6 +325,10 @@ const perfRules = {
326
325
'react-perf/jsx-no-new-object-as-prop' : 'off' ,
327
326
} ;
328
327
328
+ const conditionalSuggestionFixRules = {
329
+ 'no-compare-neg-zero' : 'off' ,
330
+ } ;
331
+
329
332
const fixRules = {
330
333
'no-debugger' : 'off' ,
331
334
'no-div-regex' : 'off' ,
@@ -348,6 +351,7 @@ const fixRules = {
348
351
'jest/prefer-to-be' : 'off' ,
349
352
'jest/prefer-to-have-length' : 'off' ,
350
353
'jest/prefer-todo' : 'off' ,
354
+ 'jsx-a11y/no-aria-hidden-on-focusable' : 'off' ,
351
355
'jsx-a11y/no-autofocus' : 'off' ,
352
356
'promise/no-new-statics' : 'off' ,
353
357
'react/jsx-boolean-value' : 'off' ,
@@ -363,6 +367,7 @@ const fixRules = {
363
367
'unicorn/no-console-spaces' : 'off' ,
364
368
'unicorn/no-hex-escape' : 'off' ,
365
369
'unicorn/no-instanceof-array' : 'off' ,
370
+ 'unicorn/no-length-as-slice-end' : 'off' ,
366
371
'unicorn/no-null' : 'off' ,
367
372
'unicorn/no-useless-promise-resolve-reject' : 'off' ,
368
373
'unicorn/no-useless-undefined' : 'off' ,
@@ -378,6 +383,8 @@ const fixRules = {
378
383
'unicorn/require-number-to-fixed-digits-argument' : 'off' ,
379
384
'unicorn/switch-case-braces' : 'off' ,
380
385
'vitest/no-import-node-test' : 'off' ,
386
+ 'vitest/prefer-to-be-falsy' : 'off' ,
387
+ 'vitest/prefer-to-be-truthy' : 'off' ,
381
388
} ;
382
389
383
390
const pendingRules = {
@@ -400,6 +407,10 @@ const pendingRules = {
400
407
'unicorn/throw-new-error' : 'off' ,
401
408
} ;
402
409
410
+ const fixDangerousRules = {
411
+ 'no-eq-null' : 'off' ,
412
+ } ;
413
+
403
414
const suspiciousRules = {
404
415
'no-new' : 'off' ,
405
416
'no-useless-concat' : 'off' ,
@@ -426,7 +437,9 @@ export {
426
437
conditionalFixSuggestionRules ,
427
438
correctnessRules ,
428
439
perfRules ,
440
+ conditionalSuggestionFixRules ,
429
441
fixRules ,
430
442
pendingRules ,
443
+ fixDangerousRules ,
431
444
suspiciousRules ,
432
445
} ;
0 commit comments