eslint-config-heck 6.3.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/biomeCss.json +17 -11
- package/biomeJsTs.json +355 -317
- package/biomeJson.json +1 -0
- package/groupImports.js +1 -1
- package/node.js +46 -45
- package/nodeWithBiome.js +62 -98
- package/package.json +12 -12
package/biomeCss.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
+
"root": false,
|
|
2
3
|
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
|
|
3
4
|
"linter": {
|
|
4
5
|
"enabled": true,
|
|
@@ -10,30 +11,35 @@
|
|
|
10
11
|
"noInvalidDirectionInLinearGradient": "error",
|
|
11
12
|
"noInvalidGridAreas": "error",
|
|
12
13
|
"noInvalidPositionAtImportRule": "error",
|
|
14
|
+
"noMissingVarFunction": "error",
|
|
13
15
|
"noUnknownFunction": "error",
|
|
14
16
|
"noUnknownMediaFeatureName": "error",
|
|
15
17
|
"noUnknownProperty": "error",
|
|
18
|
+
"noUnknownPseudoClass": "error",
|
|
19
|
+
"noUnknownPseudoElement": "error",
|
|
20
|
+
"noUnknownTypeSelector": "error",
|
|
16
21
|
"noUnknownUnit": "error",
|
|
17
22
|
"noUnmatchableAnbSelector": "error"
|
|
18
23
|
},
|
|
24
|
+
"nursery": {
|
|
25
|
+
"noImportantStyles": "error",
|
|
26
|
+
"noUnknownAtRule": "error",
|
|
27
|
+
"noUselessEscapeInString": "error"
|
|
28
|
+
},
|
|
29
|
+
"style": {
|
|
30
|
+
"noDescendingSpecificity": "error",
|
|
31
|
+
"noValueAtRule": "error"
|
|
32
|
+
},
|
|
19
33
|
"suspicious": {
|
|
20
34
|
"noDuplicateAtImportRules": "error",
|
|
35
|
+
"noDuplicateCustomProperties": "error",
|
|
21
36
|
"noDuplicateFontNames": "error",
|
|
37
|
+
"noDuplicateProperties": "error",
|
|
22
38
|
"noDuplicateSelectorsKeyframeBlock": "error",
|
|
23
39
|
"noEmptyBlock": "error",
|
|
24
40
|
"noImportantInKeyframe": "error",
|
|
25
|
-
"noShorthandPropertyOverrides": "error"
|
|
26
|
-
},
|
|
27
|
-
"nursery": {
|
|
28
|
-
"noDescendingSpecificity": "error",
|
|
29
|
-
"noDuplicateCustomProperties": "error",
|
|
30
|
-
"noDuplicateProperties": "error",
|
|
31
41
|
"noIrregularWhitespace": "error",
|
|
32
|
-
"
|
|
33
|
-
"noUnknownPseudoClass": "error",
|
|
34
|
-
"noUnknownPseudoElement": "error",
|
|
35
|
-
"noUnknownTypeSelector": "error",
|
|
36
|
-
"noValueAtRule": "error"
|
|
42
|
+
"noShorthandPropertyOverrides": "error"
|
|
37
43
|
}
|
|
38
44
|
}
|
|
39
45
|
}
|
package/biomeJsTs.json
CHANGED
|
@@ -1,319 +1,357 @@
|
|
|
1
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
|
-
|
|
2
|
+
"root": false,
|
|
3
|
+
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
|
|
4
|
+
"linter": {
|
|
5
|
+
"enabled": true,
|
|
6
|
+
"rules": {
|
|
7
|
+
"a11y": {
|
|
8
|
+
"noAccessKey": "error",
|
|
9
|
+
"noAriaHiddenOnFocusable": "error",
|
|
10
|
+
"noAriaUnsupportedElements": "error",
|
|
11
|
+
"noAutofocus": "error",
|
|
12
|
+
"noDistractingElements": "error",
|
|
13
|
+
"noHeaderScope": "error",
|
|
14
|
+
"noInteractiveElementToNoninteractiveRole": "error",
|
|
15
|
+
"noLabelWithoutControl": "error",
|
|
16
|
+
"noNoninteractiveElementToInteractiveRole": "error",
|
|
17
|
+
"noNoninteractiveTabindex": "error",
|
|
18
|
+
"noPositiveTabindex": "error",
|
|
19
|
+
"noRedundantAlt": "error",
|
|
20
|
+
"noRedundantRoles": "error",
|
|
21
|
+
"noStaticElementInteractions": "error",
|
|
22
|
+
"noSvgWithoutTitle": "error",
|
|
23
|
+
"useAltText": "error",
|
|
24
|
+
"useAnchorContent": "error",
|
|
25
|
+
"useAriaActivedescendantWithTabindex": "error",
|
|
26
|
+
"useAriaPropsForRole": "error",
|
|
27
|
+
"useAriaPropsSupportedByRole": "error",
|
|
28
|
+
"useButtonType": "error",
|
|
29
|
+
"useFocusableInteractive": "error",
|
|
30
|
+
"useHeadingContent": "error",
|
|
31
|
+
"useHtmlLang": "error",
|
|
32
|
+
"useIframeTitle": "error",
|
|
33
|
+
"useKeyWithClickEvents": "error",
|
|
34
|
+
"useKeyWithMouseEvents": "error",
|
|
35
|
+
"useMediaCaption": "error",
|
|
36
|
+
"useSemanticElements": "error",
|
|
37
|
+
"useValidAnchor": "error",
|
|
38
|
+
"useValidAriaProps": "error",
|
|
39
|
+
"useValidAriaRole": "error",
|
|
40
|
+
"useValidAriaValues": "error",
|
|
41
|
+
"useValidAutocomplete": "error",
|
|
42
|
+
"useValidLang": "error"
|
|
43
|
+
},
|
|
44
|
+
"complexity": {
|
|
45
|
+
"noAdjacentSpacesInRegex": "error",
|
|
46
|
+
"noArguments": "error",
|
|
47
|
+
"noBannedTypes": "error",
|
|
48
|
+
"noCommaOperator": "error",
|
|
49
|
+
"noEmptyTypeParameters": "error",
|
|
50
|
+
"noExcessiveCognitiveComplexity": "warn",
|
|
51
|
+
"noExcessiveNestedTestSuites": "error",
|
|
52
|
+
"noExtraBooleanCast": "error",
|
|
53
|
+
"noFlatMapIdentity": "error",
|
|
54
|
+
"noForEach": "error",
|
|
55
|
+
"noStaticOnlyClass": "error",
|
|
56
|
+
"noThisInStatic": "error",
|
|
57
|
+
"noUselessCatch": "error",
|
|
58
|
+
"noUselessConstructor": "error",
|
|
59
|
+
"noUselessContinue": "error",
|
|
60
|
+
"noUselessEmptyExport": "error",
|
|
61
|
+
"noUselessEscapeInRegex": "error",
|
|
62
|
+
"noUselessFragments": "error",
|
|
63
|
+
"noUselessLabel": "error",
|
|
64
|
+
"noUselessLoneBlockStatements": "error",
|
|
65
|
+
"noUselessRename": "error",
|
|
66
|
+
"noUselessStringConcat": "error",
|
|
67
|
+
"noUselessStringRaw": "error",
|
|
68
|
+
"noUselessSwitchCase": "error",
|
|
69
|
+
"noUselessTernary": "error",
|
|
70
|
+
"noUselessThisAlias": "error",
|
|
71
|
+
"noUselessTypeConstraint": "error",
|
|
72
|
+
"noUselessUndefinedInitialization": "error",
|
|
73
|
+
"noVoid": "error",
|
|
74
|
+
"useArrowFunction": "error",
|
|
75
|
+
"useDateNow": "error",
|
|
76
|
+
"useFlatMap": "error",
|
|
77
|
+
"useLiteralKeys": "error",
|
|
78
|
+
"useNumericLiterals": "error",
|
|
79
|
+
"useOptionalChain": "error",
|
|
80
|
+
"useRegexLiterals": "error",
|
|
81
|
+
"useSimpleNumberKeys": "error",
|
|
82
|
+
"useSimplifiedLogicExpression": "off",
|
|
83
|
+
"useWhile": "error"
|
|
84
|
+
},
|
|
85
|
+
"correctness": {
|
|
86
|
+
"noChildrenProp": "error",
|
|
87
|
+
"noConstAssign": "error",
|
|
88
|
+
"noConstantCondition": "error",
|
|
89
|
+
"noConstantMathMinMaxClamp": "error",
|
|
90
|
+
"noConstructorReturn": "error",
|
|
91
|
+
"noEmptyCharacterClassInRegex": "error",
|
|
92
|
+
"noEmptyPattern": "error",
|
|
93
|
+
"noGlobalObjectCalls": "error",
|
|
94
|
+
"noInnerDeclarations": "error",
|
|
95
|
+
"noInvalidBuiltinInstantiation": "error",
|
|
96
|
+
"noInvalidConstructorSuper": "error",
|
|
97
|
+
"noInvalidUseBeforeDeclaration": "off",
|
|
98
|
+
"noNodejsModules": "off",
|
|
99
|
+
"noNonoctalDecimalEscape": "error",
|
|
100
|
+
"noPrecisionLoss": "error",
|
|
101
|
+
"noPrivateImports": "off",
|
|
102
|
+
"noRenderReturnValue": "error",
|
|
103
|
+
"noSelfAssign": "error",
|
|
104
|
+
"noSetterReturn": "error",
|
|
105
|
+
"noStringCaseMismatch": "error",
|
|
106
|
+
"noSwitchDeclarations": "error",
|
|
107
|
+
"noUndeclaredDependencies": "off",
|
|
108
|
+
"noUndeclaredVariables": "off",
|
|
109
|
+
"noUnreachable": "error",
|
|
110
|
+
"noUnreachableSuper": "error",
|
|
111
|
+
"noUnsafeFinally": "error",
|
|
112
|
+
"noUnsafeOptionalChaining": "error",
|
|
113
|
+
"noUnusedFunctionParameters": "error",
|
|
114
|
+
"noUnusedImports": "error",
|
|
115
|
+
"noUnusedLabels": "error",
|
|
116
|
+
"noUnusedPrivateClassMembers": "error",
|
|
117
|
+
"noUnusedVariables": "error",
|
|
118
|
+
"noVoidElementsWithChildren": "error",
|
|
119
|
+
"noVoidTypeReturn": "error",
|
|
120
|
+
"useExhaustiveDependencies": "error",
|
|
121
|
+
"useHookAtTopLevel": "error",
|
|
122
|
+
"useImportExtensions": "off",
|
|
123
|
+
"useIsNan": "error",
|
|
124
|
+
"useJsxKeyInIterable": "error",
|
|
125
|
+
"useValidForDirection": "error",
|
|
126
|
+
"useValidTypeof": "error",
|
|
127
|
+
"useYield": "error"
|
|
128
|
+
},
|
|
129
|
+
"nursery": {
|
|
130
|
+
"noAwaitInLoop": "warn",
|
|
131
|
+
"noBitwiseOperators": "error",
|
|
132
|
+
"noConstantBinaryExpression": "error",
|
|
133
|
+
"noDestructuredProps": "off",
|
|
134
|
+
"noFloatingPromises": "error",
|
|
135
|
+
"noGlobalDirnameFilename": "warn",
|
|
136
|
+
"noImportCycles": "error",
|
|
137
|
+
"noNestedComponentDefinitions": "error",
|
|
138
|
+
"noNoninteractiveElementInteractions": "error",
|
|
139
|
+
"noProcessGlobal": "error",
|
|
140
|
+
"noReactPropAssign": "error",
|
|
141
|
+
"noRestrictedElements": "off",
|
|
142
|
+
"noSecrets": "off",
|
|
143
|
+
"noShadow": "error",
|
|
144
|
+
"noTsIgnore": "error",
|
|
145
|
+
"noUnresolvedImports": "off",
|
|
146
|
+
"noUnwantedPolyfillio": "off",
|
|
147
|
+
"noUselessBackrefInRegex": "error",
|
|
148
|
+
"noUselessEscapeInString": "error",
|
|
149
|
+
"noUselessUndefined": "error",
|
|
150
|
+
"useAdjacentGetterSetter": "error",
|
|
151
|
+
"useConsistentObjectDefinition": {
|
|
152
|
+
"level": "error",
|
|
153
|
+
"options": {
|
|
154
|
+
"syntax": "shorthand"
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"useConsistentResponse": "error",
|
|
158
|
+
"useExhaustiveSwitchCases": "error",
|
|
159
|
+
"useExplicitType": "off",
|
|
160
|
+
"useExportsLast": "error",
|
|
161
|
+
"useForComponent": "off",
|
|
162
|
+
"useGoogleFontPreconnect": "error",
|
|
163
|
+
"useIndexOf": "error",
|
|
164
|
+
"useIterableCallbackReturn": "error",
|
|
165
|
+
"useJsonImportAttribute": "error",
|
|
166
|
+
"useNumericSeparators": "error",
|
|
167
|
+
"useObjectSpread": "error",
|
|
168
|
+
"useParseIntRadix": "error",
|
|
169
|
+
"useSingleJsDocAsterisk": "error",
|
|
170
|
+
"useSortedClasses": "off",
|
|
171
|
+
"useSymbolDescription": "error",
|
|
172
|
+
"useUniqueElementIds": "error"
|
|
173
|
+
},
|
|
174
|
+
"performance": {
|
|
175
|
+
"noAccumulatingSpread": "error",
|
|
176
|
+
"noBarrelFile": "error",
|
|
177
|
+
"noDelete": "error",
|
|
178
|
+
"noDynamicNamespaceImportAccess": "error",
|
|
179
|
+
"noImgElement": "off",
|
|
180
|
+
"noNamespaceImport": "error",
|
|
181
|
+
"noReExportAll": "error",
|
|
182
|
+
"useTopLevelRegex": "error"
|
|
183
|
+
},
|
|
184
|
+
"security": {
|
|
185
|
+
"noBlankTarget": "error",
|
|
186
|
+
"noDangerouslySetInnerHtml": "error",
|
|
187
|
+
"noDangerouslySetInnerHtmlWithChildren": "error",
|
|
188
|
+
"noGlobalEval": "error"
|
|
189
|
+
},
|
|
190
|
+
"style": {
|
|
191
|
+
"noCommonJs": "error",
|
|
192
|
+
"noDefaultExport": "error",
|
|
193
|
+
"noDoneCallback": "error",
|
|
194
|
+
"noEnum": "error",
|
|
195
|
+
"noExportedImports": "error",
|
|
196
|
+
"noHeadElement": "off",
|
|
197
|
+
"noImplicitBoolean": "off",
|
|
198
|
+
"noInferrableTypes": "error",
|
|
199
|
+
"noNamespace": "error",
|
|
200
|
+
"noNegationElse": "error",
|
|
201
|
+
"noNestedTernary": "error",
|
|
202
|
+
"noNonNullAssertion": "error",
|
|
203
|
+
"noParameterAssign": "error",
|
|
204
|
+
"noParameterProperties": "off",
|
|
205
|
+
"noProcessEnv": "error",
|
|
206
|
+
"noRestrictedGlobals": "off",
|
|
207
|
+
"noRestrictedImports": "off",
|
|
208
|
+
"noRestrictedTypes": "off",
|
|
209
|
+
"noShoutyConstants": "error",
|
|
210
|
+
"noSubstr": "error",
|
|
211
|
+
"noUnusedTemplateLiteral": "error",
|
|
212
|
+
"noUselessElse": "error",
|
|
213
|
+
"noYodaExpression": "error",
|
|
214
|
+
"useArrayLiterals": "error",
|
|
215
|
+
"useAsConstAssertion": "error",
|
|
216
|
+
"useAtIndex": "error",
|
|
217
|
+
"useBlockStatements": "error",
|
|
218
|
+
"useCollapsedElseIf": "error",
|
|
219
|
+
"useCollapsedIf": "error",
|
|
220
|
+
"useComponentExportOnlyModules": "off",
|
|
221
|
+
"useConsistentArrayType": "error",
|
|
222
|
+
"useConsistentBuiltinInstantiation": "error",
|
|
223
|
+
"useConsistentCurlyBraces": "off",
|
|
224
|
+
"useConsistentMemberAccessibility": {
|
|
225
|
+
"level": "error",
|
|
226
|
+
"options": {
|
|
227
|
+
"accessibility": "explicit"
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
"useConst": "error",
|
|
231
|
+
"useDefaultParameterLast": "error",
|
|
232
|
+
"useDefaultSwitchClause": "off",
|
|
233
|
+
"useEnumInitializers": "error",
|
|
234
|
+
"useExplicitLengthCheck": "error",
|
|
235
|
+
"useExponentiationOperator": "error",
|
|
236
|
+
"useExportType": "error",
|
|
237
|
+
"useFilenamingConvention": {
|
|
238
|
+
"level": "error",
|
|
239
|
+
"options": {
|
|
240
|
+
"strictCase": true,
|
|
241
|
+
"filenameCases": [
|
|
242
|
+
"camelCase",
|
|
243
|
+
"PascalCase"
|
|
244
|
+
]
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
"useForOf": "error",
|
|
248
|
+
"useFragmentSyntax": "off",
|
|
249
|
+
"useImportType": "error",
|
|
250
|
+
"useLiteralEnumMembers": "error",
|
|
251
|
+
"useNamingConvention": {
|
|
252
|
+
"level": "error",
|
|
253
|
+
"options": {
|
|
254
|
+
"strictCase": true,
|
|
255
|
+
"requireAscii": true,
|
|
256
|
+
"conventions": [
|
|
257
|
+
{
|
|
258
|
+
"selector": {
|
|
259
|
+
"kind": "typeParameter"
|
|
260
|
+
},
|
|
261
|
+
"match": "T(.+)",
|
|
262
|
+
"formats": [
|
|
263
|
+
"PascalCase"
|
|
264
|
+
]
|
|
265
|
+
}
|
|
266
|
+
]
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
"useNodeAssertStrict": "error",
|
|
270
|
+
"useNodejsImportProtocol": "error",
|
|
271
|
+
"useNumberNamespace": "error",
|
|
272
|
+
"useSelfClosingElements": "error",
|
|
273
|
+
"useShorthandAssign": "error",
|
|
274
|
+
"useShorthandFunctionType": "error",
|
|
275
|
+
"useSingleVarDeclarator": "error",
|
|
276
|
+
"useTemplate": "error",
|
|
277
|
+
"useThrowNewError": "error",
|
|
278
|
+
"useThrowOnlyError": "error",
|
|
279
|
+
"useTrimStartEnd": "error"
|
|
280
|
+
},
|
|
281
|
+
"suspicious": {
|
|
282
|
+
"noApproximativeNumericConstant": "error",
|
|
283
|
+
"noArrayIndexKey": "error",
|
|
284
|
+
"noAssignInExpressions": "error",
|
|
285
|
+
"noAsyncPromiseExecutor": "error",
|
|
286
|
+
"noCatchAssign": "error",
|
|
287
|
+
"noClassAssign": "error",
|
|
288
|
+
"noCommentText": "error",
|
|
289
|
+
"noCompareNegZero": "error",
|
|
290
|
+
"noConfusingLabels": "error",
|
|
291
|
+
"noConfusingVoidType": "error",
|
|
292
|
+
"noConsole": "error",
|
|
293
|
+
"noConstEnum": "error",
|
|
294
|
+
"noControlCharactersInRegex": "error",
|
|
295
|
+
"noDebugger": "error",
|
|
296
|
+
"noDocumentCookie": "error",
|
|
297
|
+
"noDocumentImportInPage": "off",
|
|
298
|
+
"noDoubleEquals": "error",
|
|
299
|
+
"noDuplicateCase": "error",
|
|
300
|
+
"noDuplicateClassMembers": "error",
|
|
301
|
+
"noDuplicateElseIf": "error",
|
|
302
|
+
"noDuplicateJsxProps": "error",
|
|
303
|
+
"noDuplicateObjectKeys": "error",
|
|
304
|
+
"noDuplicateParameters": "error",
|
|
305
|
+
"noDuplicateTestHooks": "error",
|
|
306
|
+
"noEmptyBlockStatements": "error",
|
|
307
|
+
"noEmptyInterface": "off",
|
|
308
|
+
"noEvolvingTypes": "error",
|
|
309
|
+
"noExplicitAny": "error",
|
|
310
|
+
"noExportsInTest": "error",
|
|
311
|
+
"noExtraNonNullAssertion": "error",
|
|
312
|
+
"noFallthroughSwitchClause": "error",
|
|
313
|
+
"noFocusedTests": "warn",
|
|
314
|
+
"noFunctionAssign": "error",
|
|
315
|
+
"noGlobalAssign": "error",
|
|
316
|
+
"noGlobalIsFinite": "error",
|
|
317
|
+
"noGlobalIsNan": "error",
|
|
318
|
+
"noHeadImportInDocument": "off",
|
|
319
|
+
"noImplicitAnyLet": "error",
|
|
320
|
+
"noImportAssign": "error",
|
|
321
|
+
"noIrregularWhitespace": "error",
|
|
322
|
+
"noLabelVar": "error",
|
|
323
|
+
"noMisleadingCharacterClass": "error",
|
|
324
|
+
"noMisleadingInstantiator": "error",
|
|
325
|
+
"noMisplacedAssertion": "error",
|
|
326
|
+
"noMisrefactoredShorthandAssign": "error",
|
|
327
|
+
"noOctalEscape": "error",
|
|
328
|
+
"noPrototypeBuiltins": "error",
|
|
329
|
+
"noReactSpecificProps": "off",
|
|
330
|
+
"noRedeclare": "error",
|
|
331
|
+
"noRedundantUseStrict": "error",
|
|
332
|
+
"noSelfCompare": "error",
|
|
333
|
+
"noShadowRestrictedNames": "error",
|
|
334
|
+
"noSkippedTests": "warn",
|
|
335
|
+
"noSparseArray": "error",
|
|
336
|
+
"noSuspiciousSemicolonInJsx": "error",
|
|
337
|
+
"noTemplateCurlyInString": "error",
|
|
338
|
+
"noThenProperty": "error",
|
|
339
|
+
"noUnsafeDeclarationMerging": "error",
|
|
340
|
+
"noUnsafeNegation": "error",
|
|
341
|
+
"noVar": "error",
|
|
342
|
+
"noWith": "error",
|
|
343
|
+
"useAdjacentOverloadSignatures": "error",
|
|
344
|
+
"useAwait": "off",
|
|
345
|
+
"useDefaultSwitchClauseLast": "error",
|
|
346
|
+
"useErrorMessage": "error",
|
|
347
|
+
"useGetterReturn": "error",
|
|
348
|
+
"useGoogleFontDisplay": "error",
|
|
349
|
+
"useGuardForIn": "error",
|
|
350
|
+
"useIsArray": "error",
|
|
351
|
+
"useNamespaceKeyword": "error",
|
|
352
|
+
"useNumberToFixedDigitsArgument": "error",
|
|
353
|
+
"useStrictMode": "error"
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
}
|
|
319
357
|
}
|
package/biomeJson.json
CHANGED
package/groupImports.js
CHANGED
package/node.js
CHANGED
|
@@ -17,7 +17,7 @@ export default [
|
|
|
17
17
|
react,
|
|
18
18
|
"react-hooks": reactHooks,
|
|
19
19
|
unicorn,
|
|
20
|
-
|
|
20
|
+
importPlugin,
|
|
21
21
|
},
|
|
22
22
|
linterOptions: {
|
|
23
23
|
reportUnusedDisableDirectives: true,
|
|
@@ -760,60 +760,61 @@ export default [
|
|
|
760
760
|
"unicorn/throw-new-error": "error",
|
|
761
761
|
|
|
762
762
|
// eslint-plugin-import
|
|
763
|
-
"
|
|
764
|
-
"
|
|
765
|
-
"
|
|
766
|
-
"
|
|
767
|
-
"
|
|
768
|
-
"
|
|
769
|
-
"
|
|
770
|
-
"
|
|
771
|
-
"
|
|
772
|
-
"
|
|
773
|
-
"
|
|
774
|
-
"
|
|
775
|
-
"
|
|
776
|
-
"
|
|
777
|
-
"
|
|
778
|
-
"
|
|
779
|
-
"
|
|
780
|
-
"
|
|
763
|
+
"importPlugin/enforce-node-protocol-usage": "off",
|
|
764
|
+
"importPlugin/export": "off",
|
|
765
|
+
"importPlugin/no-deprecated": "off",
|
|
766
|
+
"importPlugin/no-empty-named-blocks": "error",
|
|
767
|
+
"importPlugin/no-extraneous-dependencies": "off",
|
|
768
|
+
"importPlugin/no-mutable-exports": "error",
|
|
769
|
+
"importPlugin/no-named-as-default": "error",
|
|
770
|
+
"importPlugin/no-named-as-default-member": "off",
|
|
771
|
+
"importPlugin/no-unused-modules": "off",
|
|
772
|
+
"importPlugin/no-amd": "off",
|
|
773
|
+
"importPlugin/no-commonjs": "off",
|
|
774
|
+
"importPlugin/no-import-module-exports": "off",
|
|
775
|
+
"importPlugin/no-nodejs-modules": "off",
|
|
776
|
+
"importPlugin/unambiguous": "off",
|
|
777
|
+
"importPlugin/default": "off",
|
|
778
|
+
"importPlugin/named": "off",
|
|
779
|
+
"importPlugin/namespace": "off",
|
|
780
|
+
"importPlugin/no-absolute-path": "error",
|
|
781
|
+
"importPlugin/no-cycle": [
|
|
781
782
|
"error",
|
|
782
783
|
{
|
|
783
784
|
ignoreExternal: true,
|
|
784
785
|
},
|
|
785
786
|
],
|
|
786
|
-
"
|
|
787
|
-
"
|
|
788
|
-
"
|
|
789
|
-
"
|
|
790
|
-
"
|
|
791
|
-
"
|
|
792
|
-
"
|
|
793
|
-
"
|
|
787
|
+
"importPlugin/no-dynamic-require": "off",
|
|
788
|
+
"importPlugin/no-internal-modules": "off",
|
|
789
|
+
"importPlugin/no-relative-packages": "off",
|
|
790
|
+
"importPlugin/no-relative-parent-imports": "off",
|
|
791
|
+
"importPlugin/no-restricted-paths": "off",
|
|
792
|
+
"importPlugin/no-self-import": "error",
|
|
793
|
+
"importPlugin/no-unresolved": "off",
|
|
794
|
+
"importPlugin/no-useless-path-segments": [
|
|
794
795
|
"error",
|
|
795
796
|
{
|
|
796
797
|
noUselessIndex: true,
|
|
797
798
|
},
|
|
798
799
|
],
|
|
799
|
-
"
|
|
800
|
-
"
|
|
801
|
-
"
|
|
802
|
-
"
|
|
803
|
-
"
|
|
804
|
-
"
|
|
805
|
-
"
|
|
806
|
-
"
|
|
807
|
-
"
|
|
808
|
-
"
|
|
809
|
-
"
|
|
810
|
-
"
|
|
811
|
-
"
|
|
812
|
-
"
|
|
813
|
-
"
|
|
814
|
-
"
|
|
815
|
-
"
|
|
816
|
-
"
|
|
800
|
+
"importPlugin/no-webpack-loader-syntax": "error",
|
|
801
|
+
"importPlugin/consistent-type-specifier-style": "off",
|
|
802
|
+
"importPlugin/dynamic-import-chunkname": "off",
|
|
803
|
+
"importPlugin/exports-last": "error",
|
|
804
|
+
"importPlugin/extensions": "off",
|
|
805
|
+
"importPlugin/first": "error",
|
|
806
|
+
"importPlugin/group-exports": "error",
|
|
807
|
+
"importPlugin/max-dependencies": "off",
|
|
808
|
+
"importPlugin/newline-after-import": "off",
|
|
809
|
+
"importPlugin/no-anonymous-default-export": "error",
|
|
810
|
+
"importPlugin/no-default-export": "off",
|
|
811
|
+
"importPlugin/no-duplicates": "error",
|
|
812
|
+
"importPlugin/no-named-default": "off",
|
|
813
|
+
"importPlugin/no-named-export": "off",
|
|
814
|
+
"importPlugin/no-namespace": "off",
|
|
815
|
+
"importPlugin/no-unassigned-import": "off",
|
|
816
|
+
"importPlugin/order": "off",
|
|
817
|
+
"importPlugin/prefer-default-export": "off",
|
|
817
818
|
},
|
|
818
819
|
},
|
|
819
820
|
{
|
package/nodeWithBiome.js
CHANGED
|
@@ -17,7 +17,7 @@ export default [
|
|
|
17
17
|
react,
|
|
18
18
|
"react-hooks": reactHooks,
|
|
19
19
|
unicorn,
|
|
20
|
-
|
|
20
|
+
importPlugin,
|
|
21
21
|
},
|
|
22
22
|
linterOptions: {
|
|
23
23
|
reportUnusedDisableDirectives: true,
|
|
@@ -43,23 +43,17 @@ export default [
|
|
|
43
43
|
},
|
|
44
44
|
rules: {
|
|
45
45
|
// Possible problems
|
|
46
|
-
"array-callback-return":
|
|
47
|
-
"error",
|
|
48
|
-
{
|
|
49
|
-
allowImplicit: true,
|
|
50
|
-
checkForEach: false,
|
|
51
|
-
},
|
|
52
|
-
],
|
|
46
|
+
"array-callback-return": "off",
|
|
53
47
|
"constructor-super": "off",
|
|
54
48
|
"for-direction": "off",
|
|
55
49
|
"getter-return": "off",
|
|
56
50
|
"no-async-promise-executor": "off",
|
|
57
|
-
"no-await-in-loop": "
|
|
51
|
+
"no-await-in-loop": "off",
|
|
58
52
|
"no-class-assign": "off",
|
|
59
53
|
"no-compare-neg-zero": "off",
|
|
60
54
|
"no-cond-assign": "off",
|
|
61
55
|
"no-const-assign": "off",
|
|
62
|
-
"no-constant-binary-expression": "
|
|
56
|
+
"no-constant-binary-expression": "off",
|
|
63
57
|
"no-constant-condition": "off",
|
|
64
58
|
"no-constructor-return": "off",
|
|
65
59
|
"no-control-regex": "off",
|
|
@@ -104,7 +98,7 @@ export default [
|
|
|
104
98
|
"no-unused-vars": "off",
|
|
105
99
|
"no-use-before-define": ["error", "nofunc"],
|
|
106
100
|
"no-useless-assignment": "error",
|
|
107
|
-
"no-useless-backreference": "
|
|
101
|
+
"no-useless-backreference": "off",
|
|
108
102
|
"require-atomic-updates": "error",
|
|
109
103
|
"use-isnan": "off",
|
|
110
104
|
"valid-typeof": "off",
|
|
@@ -141,7 +135,7 @@ export default [
|
|
|
141
135
|
allowArrowFunctions: true,
|
|
142
136
|
},
|
|
143
137
|
],
|
|
144
|
-
"grouped-accessor-pairs":
|
|
138
|
+
"grouped-accessor-pairs": "off",
|
|
145
139
|
"guard-for-in": "off",
|
|
146
140
|
"id-denylist": "off",
|
|
147
141
|
"id-length": [
|
|
@@ -164,13 +158,7 @@ export default [
|
|
|
164
158
|
"new-cap": "error",
|
|
165
159
|
"no-alert": "error",
|
|
166
160
|
"no-array-constructor": "off",
|
|
167
|
-
"no-bitwise":
|
|
168
|
-
"error",
|
|
169
|
-
{
|
|
170
|
-
allow: [],
|
|
171
|
-
int32Hint: false,
|
|
172
|
-
},
|
|
173
|
-
],
|
|
161
|
+
"no-bitwise": "off",
|
|
174
162
|
"no-caller": "error",
|
|
175
163
|
"no-case-declarations": "off",
|
|
176
164
|
"no-console": "off",
|
|
@@ -224,7 +212,7 @@ export default [
|
|
|
224
212
|
"no-return-assign": "off",
|
|
225
213
|
"no-script-url": "error",
|
|
226
214
|
"no-sequences": "off",
|
|
227
|
-
"no-shadow": "
|
|
215
|
+
"no-shadow": "off",
|
|
228
216
|
"no-shadow-restricted-names": "off",
|
|
229
217
|
"no-ternary": "off",
|
|
230
218
|
"no-throw-literal": "off",
|
|
@@ -257,13 +245,7 @@ export default [
|
|
|
257
245
|
"no-void": "off",
|
|
258
246
|
"no-warning-comments": "warn",
|
|
259
247
|
"no-with": "off",
|
|
260
|
-
"object-shorthand":
|
|
261
|
-
"error",
|
|
262
|
-
"always",
|
|
263
|
-
{
|
|
264
|
-
avoidExplicitReturnArrows: true,
|
|
265
|
-
},
|
|
266
|
-
],
|
|
248
|
+
"object-shorthand": "off",
|
|
267
249
|
"one-var": "off",
|
|
268
250
|
"operator-assignment": "off",
|
|
269
251
|
"prefer-arrow-callback": "off",
|
|
@@ -285,13 +267,13 @@ export default [
|
|
|
285
267
|
"prefer-named-capture-group": "error",
|
|
286
268
|
"prefer-numeric-literals": "off",
|
|
287
269
|
"prefer-object-has-own": "error",
|
|
288
|
-
"prefer-object-spread": "
|
|
270
|
+
"prefer-object-spread": "off",
|
|
289
271
|
"prefer-promise-reject-errors": "error",
|
|
290
272
|
"prefer-regex-literals": "error",
|
|
291
273
|
"prefer-rest-params": "off",
|
|
292
274
|
"prefer-spread": "error",
|
|
293
275
|
"prefer-template": "off",
|
|
294
|
-
radix:
|
|
276
|
+
radix: "off",
|
|
295
277
|
"require-await": "off",
|
|
296
278
|
"require-unicode-regexp": "error",
|
|
297
279
|
"require-yield": "off",
|
|
@@ -299,7 +281,7 @@ export default [
|
|
|
299
281
|
"sort-keys": "off",
|
|
300
282
|
"sort-vars": "off",
|
|
301
283
|
strict: ["error", "global"],
|
|
302
|
-
"symbol-description": "
|
|
284
|
+
"symbol-description": "off",
|
|
303
285
|
"vars-on-top": "error",
|
|
304
286
|
yoda: "off",
|
|
305
287
|
|
|
@@ -606,15 +588,15 @@ export default [
|
|
|
606
588
|
"unicorn/no-useless-promise-resolve-reject": "error",
|
|
607
589
|
"unicorn/no-useless-spread": "error",
|
|
608
590
|
"unicorn/no-useless-switch-case": "off",
|
|
609
|
-
"unicorn/no-useless-undefined": "
|
|
591
|
+
"unicorn/no-useless-undefined": "off",
|
|
610
592
|
"unicorn/no-typeof-undefined": "error",
|
|
611
593
|
"unicorn/no-zero-fractions": "error",
|
|
612
|
-
"unicorn/numeric-separators-style": "
|
|
594
|
+
"unicorn/numeric-separators-style": "off",
|
|
613
595
|
"unicorn/prefer-add-event-listener": "error",
|
|
614
596
|
"unicorn/prefer-array-find": "error",
|
|
615
597
|
"unicorn/prefer-array-flat": "error",
|
|
616
598
|
"unicorn/prefer-array-flat-map": "off",
|
|
617
|
-
"unicorn/prefer-array-index-of": "
|
|
599
|
+
"unicorn/prefer-array-index-of": "off",
|
|
618
600
|
"unicorn/prefer-array-some": "error",
|
|
619
601
|
"unicorn/prefer-at": "off",
|
|
620
602
|
"unicorn/prefer-blob-reading-methods": "error",
|
|
@@ -676,60 +658,56 @@ export default [
|
|
|
676
658
|
"unicorn/throw-new-error": "off",
|
|
677
659
|
|
|
678
660
|
// eslint-plugin-import
|
|
679
|
-
"
|
|
680
|
-
"
|
|
681
|
-
"
|
|
682
|
-
"
|
|
683
|
-
"
|
|
684
|
-
"
|
|
685
|
-
"
|
|
686
|
-
"
|
|
687
|
-
"
|
|
688
|
-
"
|
|
689
|
-
"
|
|
690
|
-
"
|
|
691
|
-
"
|
|
692
|
-
"
|
|
693
|
-
"
|
|
694
|
-
"
|
|
695
|
-
"
|
|
696
|
-
"
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
"
|
|
703
|
-
"
|
|
704
|
-
"
|
|
705
|
-
"
|
|
706
|
-
"import/no-restricted-paths": "off",
|
|
707
|
-
"import/no-self-import": "error",
|
|
708
|
-
"import/no-unresolved": "off",
|
|
709
|
-
"import/no-useless-path-segments": [
|
|
661
|
+
"importPlugin/enforce-node-protocol-usage": "off",
|
|
662
|
+
"importPlugin/export": "off",
|
|
663
|
+
"importPlugin/no-deprecated": "off",
|
|
664
|
+
"importPlugin/no-empty-named-blocks": "error",
|
|
665
|
+
"importPlugin/no-extraneous-dependencies": "off",
|
|
666
|
+
"importPlugin/no-mutable-exports": "error",
|
|
667
|
+
"importPlugin/no-named-as-default": "error",
|
|
668
|
+
"importPlugin/no-named-as-default-member": "off",
|
|
669
|
+
"importPlugin/no-unused-modules": "off",
|
|
670
|
+
"importPlugin/no-amd": "off",
|
|
671
|
+
"importPlugin/no-commonjs": "off",
|
|
672
|
+
"importPlugin/no-import-module-exports": "off",
|
|
673
|
+
"importPlugin/no-nodejs-modules": "off",
|
|
674
|
+
"importPlugin/unambiguous": "off",
|
|
675
|
+
"importPlugin/default": "off",
|
|
676
|
+
"importPlugin/named": "off",
|
|
677
|
+
"importPlugin/namespace": "off",
|
|
678
|
+
"importPlugin/no-absolute-path": "error",
|
|
679
|
+
"importPlugin/no-cycle": "off",
|
|
680
|
+
"importPlugin/no-dynamic-require": "off",
|
|
681
|
+
"importPlugin/no-internal-modules": "off",
|
|
682
|
+
"importPlugin/no-relative-packages": "off",
|
|
683
|
+
"importPlugin/no-relative-parent-imports": "off",
|
|
684
|
+
"importPlugin/no-restricted-paths": "off",
|
|
685
|
+
"importPlugin/no-self-import": "error",
|
|
686
|
+
"importPlugin/no-unresolved": "off",
|
|
687
|
+
"importPlugin/no-useless-path-segments": [
|
|
710
688
|
"error",
|
|
711
689
|
{
|
|
712
690
|
noUselessIndex: true,
|
|
713
691
|
},
|
|
714
692
|
],
|
|
715
|
-
"
|
|
716
|
-
"
|
|
717
|
-
"
|
|
718
|
-
"
|
|
719
|
-
"
|
|
720
|
-
"
|
|
721
|
-
"
|
|
722
|
-
"
|
|
723
|
-
"
|
|
724
|
-
"
|
|
725
|
-
"
|
|
726
|
-
"
|
|
727
|
-
"
|
|
728
|
-
"
|
|
729
|
-
"
|
|
730
|
-
"
|
|
731
|
-
"
|
|
732
|
-
"
|
|
693
|
+
"importPlugin/no-webpack-loader-syntax": "error",
|
|
694
|
+
"importPlugin/consistent-type-specifier-style": "off",
|
|
695
|
+
"importPlugin/dynamic-import-chunkname": "off",
|
|
696
|
+
"importPlugin/exports-last": "off",
|
|
697
|
+
"importPlugin/extensions": "off",
|
|
698
|
+
"importPlugin/first": "error",
|
|
699
|
+
"importPlugin/group-exports": "error",
|
|
700
|
+
"importPlugin/max-dependencies": "off",
|
|
701
|
+
"importPlugin/newline-after-import": "off",
|
|
702
|
+
"importPlugin/no-anonymous-default-export": "error",
|
|
703
|
+
"importPlugin/no-default-export": "off",
|
|
704
|
+
"importPlugin/no-duplicates": "error",
|
|
705
|
+
"importPlugin/no-named-default": "off",
|
|
706
|
+
"importPlugin/no-named-export": "off",
|
|
707
|
+
"importPlugin/no-namespace": "off",
|
|
708
|
+
"importPlugin/no-unassigned-import": "off",
|
|
709
|
+
"importPlugin/order": "off",
|
|
710
|
+
"importPlugin/prefer-default-export": "off",
|
|
733
711
|
},
|
|
734
712
|
},
|
|
735
713
|
{
|
|
@@ -754,15 +732,7 @@ export default [
|
|
|
754
732
|
"@typescript-eslint/adjacent-overload-signatures": "off",
|
|
755
733
|
"@typescript-eslint/array-type": "off",
|
|
756
734
|
"@typescript-eslint/await-thenable": "error",
|
|
757
|
-
"@typescript-eslint/ban-ts-comment":
|
|
758
|
-
"error",
|
|
759
|
-
{
|
|
760
|
-
"ts-expect-error": true,
|
|
761
|
-
"ts-ignore": true,
|
|
762
|
-
"ts-nocheck": true,
|
|
763
|
-
"ts-check": false,
|
|
764
|
-
},
|
|
765
|
-
],
|
|
735
|
+
"@typescript-eslint/ban-ts-comment": "off",
|
|
766
736
|
"@typescript-eslint/ban-tslint-comment": "error",
|
|
767
737
|
"@typescript-eslint/ban-types": "off",
|
|
768
738
|
"@typescript-eslint/class-literal-property-style": "error",
|
|
@@ -946,13 +916,7 @@ export default [
|
|
|
946
916
|
"@typescript-eslint/restrict-template-expressions": "off",
|
|
947
917
|
"@typescript-eslint/return-await": "off",
|
|
948
918
|
"@typescript-eslint/strict-boolean-expressions": "off",
|
|
949
|
-
"@typescript-eslint/switch-exhaustiveness-check":
|
|
950
|
-
"error",
|
|
951
|
-
{
|
|
952
|
-
allowDefaultCaseForExhaustiveSwitch: false,
|
|
953
|
-
requireDefaultForNonUnion: true,
|
|
954
|
-
},
|
|
955
|
-
],
|
|
919
|
+
"@typescript-eslint/switch-exhaustiveness-check": "off",
|
|
956
920
|
"@typescript-eslint/triple-slash-reference": "error",
|
|
957
921
|
"@typescript-eslint/typedef": "off",
|
|
958
922
|
"@typescript-eslint/unbound-method": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-heck",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -28,27 +28,27 @@
|
|
|
28
28
|
"author": "atheck",
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@stylistic/eslint-plugin": "
|
|
32
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
33
|
-
"@typescript-eslint/parser": "8.
|
|
34
|
-
"eslint": "9.
|
|
35
|
-
"eslint-plugin-import": "2.
|
|
36
|
-
"eslint-plugin-jest": "
|
|
31
|
+
"@stylistic/eslint-plugin": "5.0.0",
|
|
32
|
+
"@typescript-eslint/eslint-plugin": "8.35.0",
|
|
33
|
+
"@typescript-eslint/parser": "8.35.0",
|
|
34
|
+
"eslint": "9.29.0",
|
|
35
|
+
"eslint-plugin-import": "2.32.0",
|
|
36
|
+
"eslint-plugin-jest": "29.0.1",
|
|
37
37
|
"eslint-plugin-react": "7.37.5",
|
|
38
38
|
"eslint-plugin-react-hooks": "5.2.0",
|
|
39
39
|
"eslint-plugin-react-native": "5.0.0",
|
|
40
|
-
"eslint-plugin-testing-library": "7.5.
|
|
40
|
+
"eslint-plugin-testing-library": "7.5.3",
|
|
41
41
|
"eslint-plugin-unicorn": "59.0.1",
|
|
42
42
|
"typescript": "5.8.3"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@biomejs/biome": "
|
|
45
|
+
"@biomejs/biome": "2.0.5",
|
|
46
46
|
"@testing-library/dom": "10.4.0",
|
|
47
47
|
"@testing-library/react": "16.3.0",
|
|
48
|
-
"@types/jest": "
|
|
49
|
-
"@types/react": "19.1.
|
|
48
|
+
"@types/jest": "30.0.0",
|
|
49
|
+
"@types/react": "19.1.8",
|
|
50
50
|
"globals": "16.2.0",
|
|
51
|
-
"jest": "
|
|
51
|
+
"jest": "30.0.3",
|
|
52
52
|
"react": "19.1.0",
|
|
53
53
|
"semantic-release": "24.2.5"
|
|
54
54
|
},
|