@@ -45,15 +45,13 @@ const pedanticRules = {
45
45
'unicorn/prefer-dom-node-remove' : 'off' ,
46
46
'unicorn/prefer-event-target' : 'off' ,
47
47
'unicorn/prefer-math-trunc' : 'off' ,
48
- 'unicorn/prefer-string-replace-all' : 'off' ,
49
48
} ;
50
49
51
50
const nurseryRules = {
52
51
'constructor-super' : 'off' ,
53
52
'getter-return' : 'off' ,
54
53
'no-undef' : 'off' ,
55
54
'no-unreachable' : 'off' ,
56
- 'no-unused-vars' : 'off' ,
57
55
'import/export' : 'off' ,
58
56
'import/no-deprecated' : 'off' ,
59
57
'import/no-unused-modules' : 'off' ,
@@ -378,6 +376,7 @@ const fixRules = {
378
376
'unicorn/prefer-dom-node-append' : 'off' ,
379
377
'unicorn/prefer-node-protocol' : 'off' ,
380
378
'unicorn/prefer-prototype-methods' : 'off' ,
379
+ 'unicorn/prefer-string-replace-all' : 'off' ,
381
380
'unicorn/prefer-string-starts-ends-with' : 'off' ,
382
381
'unicorn/prefer-string-trim-start-end' : 'off' ,
383
382
'unicorn/require-number-to-fixed-digits-argument' : 'off' ,
@@ -427,6 +426,10 @@ const suspiciousRules = {
427
426
'unicorn/prefer-add-event-listener' : 'off' ,
428
427
} ;
429
428
429
+ const dangerousSuggestionRules = {
430
+ 'no-unused-vars' : 'off' ,
431
+ } ;
432
+
430
433
export {
431
434
pedanticRules ,
432
435
nurseryRules ,
@@ -442,4 +445,5 @@ export {
442
445
pendingRules ,
443
446
fixDangerousRules ,
444
447
suspiciousRules ,
448
+ dangerousSuggestionRules ,
445
449
} ;
0 commit comments