@@ -145,7 +145,6 @@ const styleRules = {
145
145
'unicorn/filename-case' : 'off' ,
146
146
'unicorn/no-await-expression-member' : 'off' ,
147
147
'unicorn/no-unreadable-array-destructuring' : 'off' ,
148
- 'unicorn/prefer-array-flat-map' : 'off' ,
149
148
'unicorn/prefer-includes' : 'off' ,
150
149
'unicorn/prefer-logical-operator-over-ternary' : 'off' ,
151
150
'unicorn/prefer-modern-dom-apis' : 'off' ,
@@ -246,11 +245,9 @@ const correctnessRules = {
246
245
'jsdoc/require-property-type' : 'off' ,
247
246
'jsdoc/require-yields' : 'off' ,
248
247
'jsx-a11y/alt-text' : 'off' ,
249
- 'jsx-a11y/anchor-has-content' : 'off' ,
250
248
'jsx-a11y/anchor-is-valid' : 'off' ,
251
249
'jsx-a11y/aria-activedescendant-has-tabindex' : 'off' ,
252
250
'jsx-a11y/aria-role' : 'off' ,
253
- 'jsx-a11y/aria-unsupported-elements' : 'off' ,
254
251
'jsx-a11y/autocomplete-valid' : 'off' ,
255
252
'jsx-a11y/click-events-have-key-events' : 'off' ,
256
253
'jsx-a11y/heading-has-content' : 'off' ,
@@ -262,12 +259,9 @@ const correctnessRules = {
262
259
'jsx-a11y/mouse-events-have-key-events' : 'off' ,
263
260
'jsx-a11y/no-access-key' : 'off' ,
264
261
'jsx-a11y/no-distracting-elements' : 'off' ,
265
- 'jsx-a11y/no-redundant-roles' : 'off' ,
266
262
'jsx-a11y/prefer-tag-over-role' : 'off' ,
267
263
'jsx-a11y/role-has-required-aria-props' : 'off' ,
268
264
'jsx-a11y/role-supports-aria-props' : 'off' ,
269
- 'jsx-a11y/scope' : 'off' ,
270
- 'jsx-a11y/tabindex-no-positive' : 'off' ,
271
265
'nextjs/google-font-display' : 'off' ,
272
266
'nextjs/google-font-preconnect' : 'off' ,
273
267
'nextjs/inline-script-id' : 'off' ,
@@ -349,6 +343,7 @@ const fixRules = {
349
343
'jest/prefer-to-be' : 'off' ,
350
344
'jest/prefer-to-have-length' : 'off' ,
351
345
'jest/prefer-todo' : 'off' ,
346
+ 'jsx-a11y/aria-unsupported-elements' : 'off' ,
352
347
'jsx-a11y/no-aria-hidden-on-focusable' : 'off' ,
353
348
'jsx-a11y/no-autofocus' : 'off' ,
354
349
'promise/no-new-statics' : 'off' ,
@@ -372,9 +367,11 @@ const fixRules = {
372
367
'unicorn/no-zero-fractions' : 'off' ,
373
368
'unicorn/number-literal-case' : 'off' ,
374
369
'unicorn/numeric-separators-style' : 'off' ,
370
+ 'unicorn/prefer-array-flat-map' : 'off' ,
375
371
'unicorn/prefer-code-point' : 'off' ,
376
372
'unicorn/prefer-dom-node-append' : 'off' ,
377
373
'unicorn/prefer-node-protocol' : 'off' ,
374
+ 'unicorn/prefer-optional-catch-binding' : 'off' ,
378
375
'unicorn/prefer-prototype-methods' : 'off' ,
379
376
'unicorn/prefer-string-replace-all' : 'off' ,
380
377
'unicorn/prefer-string-starts-ends-with' : 'off' ,
@@ -391,12 +388,15 @@ const pendingRules = {
391
388
'no-extra-boolean-cast' : 'off' ,
392
389
'no-fallthrough' : 'off' ,
393
390
'no-var' : 'off' ,
391
+ 'jsx-a11y/no-redundant-roles' : 'off' ,
392
+ 'jsx-a11y/scope' : 'off' ,
393
+ 'jsx-a11y/tabindex-no-positive' : 'off' ,
394
+ 'react/jsx-props-no-spread-multi' : 'off' ,
394
395
'unicorn/prefer-array-flat' : 'off' ,
395
396
'unicorn/prefer-array-some' : 'off' ,
396
397
'unicorn/prefer-date-now' : 'off' ,
397
398
'unicorn/prefer-modern-math-apis' : 'off' ,
398
399
'unicorn/prefer-native-coercion-functions' : 'off' ,
399
- 'unicorn/prefer-optional-catch-binding' : 'off' ,
400
400
'unicorn/prefer-regexp-test' : 'off' ,
401
401
'unicorn/prefer-set-size' : 'off' ,
402
402
'unicorn/prefer-string-slice' : 'off' ,
@@ -430,6 +430,10 @@ const dangerousSuggestionRules = {
430
430
'no-unused-vars' : 'off' ,
431
431
} ;
432
432
433
+ const conditionalSuggestionRules = {
434
+ 'jsx-a11y/anchor-has-content' : 'off' ,
435
+ } ;
436
+
433
437
export {
434
438
pedanticRules ,
435
439
nurseryRules ,
@@ -446,4 +450,5 @@ export {
446
450
fixDangerousRules ,
447
451
suspiciousRules ,
448
452
dangerousSuggestionRules ,
453
+ conditionalSuggestionRules ,
449
454
} ;
0 commit comments