@@ -89,50 +89,16 @@ const pedanticRules: Record<string, 'off'> = {
89
89
'vitest/no-conditional-in-test' : 'off' ,
90
90
} ;
91
91
92
- const suspiciousRules : Record < string , 'off' > = {
93
- 'block-scoped-var' : 'off' ,
94
- 'no-extra-bind' : 'off' ,
95
- 'no-unneeded-ternary' : 'off' ,
96
- 'no-extend-native' : 'off' ,
97
- 'no-new' : 'off' ,
98
- 'no-unexpected-multiline' : 'off' ,
99
- 'no-useless-concat' : 'off' ,
100
- 'no-useless-constructor' : 'off' ,
101
- 'import/no-unassigned-import' : 'off' ,
102
- 'import/no-empty-named-blocks' : 'off' ,
103
- 'import/no-absolute-path' : 'off' ,
104
- 'import/no-duplicates' : 'off' ,
105
- 'import/no-named-as-default' : 'off' ,
106
- 'import/no-named-as-default-member' : 'off' ,
107
- 'import/no-self-import' : 'off' ,
108
- 'jest/no-commented-out-tests' : 'off' ,
109
- 'promise/no-promise-in-callback' : 'off' ,
110
- 'react/iframe-missing-sandbox' : 'off' ,
111
- 'react/jsx-no-comment-textnodes' : 'off' ,
112
- 'react/jsx-no-script-url' : 'off' ,
113
- 'react/no-namespace' : 'off' ,
114
- 'react/react-in-jsx-scope' : 'off' ,
115
- 'react/style-prop-object' : 'off' ,
116
- '@typescript-eslint/no-confusing-non-null-assertion' : 'off' ,
117
- '@typescript-eslint/no-extraneous-class' : 'off' ,
118
- '@typescript-eslint/no-unnecessary-type-constraint' : 'off' ,
119
- 'unicorn/consistent-function-scoping' : 'off' ,
120
- 'unicorn/no-instanceof-builtins' : 'off' ,
121
- 'unicorn/no-accessor-recursion' : 'off' ,
122
- 'unicorn/prefer-add-event-listener' : 'off' ,
123
- 'unicorn/require-post-message-target-origin' : 'off' ,
124
- '@typescript-eslint/no-useless-constructor' : 'off' ,
125
- 'vitest/no-commented-out-tests' : 'off' ,
126
- } ;
127
-
128
92
const styleRules : Record < string , 'off' > = {
93
+ 'arrow-body-style' : 'off' ,
129
94
curly : 'off' ,
130
95
'default-case-last' : 'off' ,
131
96
'default-param-last' : 'off' ,
132
97
'func-style' : 'off' ,
133
98
'func-names' : 'off' ,
134
99
'grouped-accessor-pairs' : 'off' ,
135
100
'guard-for-in' : 'off' ,
101
+ 'id-length' : 'off' ,
136
102
'init-declarations' : 'off' ,
137
103
'max-params' : 'off' ,
138
104
'new-cap' : 'off' ,
@@ -171,6 +137,8 @@ const styleRules: Record<string, 'off'> = {
171
137
'import/no-mutable-exports' : 'off' ,
172
138
'import/no-named-default' : 'off' ,
173
139
'import/no-namespace' : 'off' ,
140
+ 'import/no-duplicates' : 'off' ,
141
+ 'import/prefer-default-export' : 'off' ,
174
142
'jest/consistent-test-it' : 'off' ,
175
143
'jest/max-expects' : 'off' ,
176
144
'jest/max-nested-describe' : 'off' ,
@@ -242,6 +210,7 @@ const styleRules: Record<string, 'off'> = {
242
210
'unicorn/no-array-method-this-argument' : 'off' ,
243
211
'unicorn/no-await-expression-member' : 'off' ,
244
212
'unicorn/no-console-spaces' : 'off' ,
213
+ 'unicorn/no-nested-ternary' : 'off' ,
245
214
'unicorn/no-null' : 'off' ,
246
215
'unicorn/no-unreadable-array-destructuring' : 'off' ,
247
216
'unicorn/no-zero-fractions' : 'off' ,
@@ -300,6 +269,41 @@ const styleRules: Record<string, 'off'> = {
300
269
'vitest/require-top-level-describe' : 'off' ,
301
270
} ;
302
271
272
+ const suspiciousRules : Record < string , 'off' > = {
273
+ 'block-scoped-var' : 'off' ,
274
+ 'no-extra-bind' : 'off' ,
275
+ 'no-unneeded-ternary' : 'off' ,
276
+ 'no-extend-native' : 'off' ,
277
+ 'no-new' : 'off' ,
278
+ 'no-unexpected-multiline' : 'off' ,
279
+ 'no-useless-concat' : 'off' ,
280
+ 'no-useless-constructor' : 'off' ,
281
+ 'import/no-unassigned-import' : 'off' ,
282
+ 'import/no-empty-named-blocks' : 'off' ,
283
+ 'import/no-absolute-path' : 'off' ,
284
+ 'import/no-named-as-default' : 'off' ,
285
+ 'import/no-named-as-default-member' : 'off' ,
286
+ 'import/no-self-import' : 'off' ,
287
+ 'jest/no-commented-out-tests' : 'off' ,
288
+ 'promise/no-promise-in-callback' : 'off' ,
289
+ 'react/iframe-missing-sandbox' : 'off' ,
290
+ 'react/jsx-no-comment-textnodes' : 'off' ,
291
+ 'react/jsx-no-script-url' : 'off' ,
292
+ 'react/no-namespace' : 'off' ,
293
+ 'react/react-in-jsx-scope' : 'off' ,
294
+ 'react/style-prop-object' : 'off' ,
295
+ '@typescript-eslint/no-confusing-non-null-assertion' : 'off' ,
296
+ '@typescript-eslint/no-extraneous-class' : 'off' ,
297
+ '@typescript-eslint/no-unnecessary-type-constraint' : 'off' ,
298
+ 'unicorn/consistent-function-scoping' : 'off' ,
299
+ 'unicorn/no-instanceof-builtins' : 'off' ,
300
+ 'unicorn/no-accessor-recursion' : 'off' ,
301
+ 'unicorn/prefer-add-event-listener' : 'off' ,
302
+ 'unicorn/require-post-message-target-origin' : 'off' ,
303
+ '@typescript-eslint/no-useless-constructor' : 'off' ,
304
+ 'vitest/no-commented-out-tests' : 'off' ,
305
+ } ;
306
+
303
307
const restrictionRules : Record < string , 'off' > = {
304
308
'default-case' : 'off' ,
305
309
'no-alert' : 'off' ,
@@ -357,7 +361,6 @@ const restrictionRules: Record<string, 'off'> = {
357
361
'unicorn/no-document-cookie' : 'off' ,
358
362
'unicorn/no-length-as-slice-end' : 'off' ,
359
363
'unicorn/no-magic-array-flat-depth' : 'off' ,
360
- 'unicorn/no-nested-ternary' : 'off' ,
361
364
'unicorn/no-process-exit' : 'off' ,
362
365
'unicorn/prefer-modern-math-apis' : 'off' ,
363
366
'unicorn/prefer-node-protocol' : 'off' ,
@@ -558,8 +561,8 @@ const perfRules: Record<string, 'off'> = {
558
561
559
562
export {
560
563
pedanticRules ,
561
- suspiciousRules ,
562
564
styleRules ,
565
+ suspiciousRules ,
563
566
restrictionRules ,
564
567
correctnessRules ,
565
568
perfRules ,
0 commit comments