eslint-config-heck 7.3.3 → 8.0.1
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 +44 -44
- package/biomeJsTs.json +55 -55
- package/biomeJson.json +13 -13
- package/package.json +4 -4
package/biomeCss.json
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
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
|
-
|
|
2
|
+
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
|
|
3
|
+
"root": false,
|
|
4
|
+
"linter": {
|
|
5
|
+
"enabled": true,
|
|
6
|
+
"rules": {
|
|
7
|
+
"a11y": {
|
|
8
|
+
"useGenericFontNames": "error"
|
|
9
|
+
},
|
|
10
|
+
"complexity": {
|
|
11
|
+
"noImportantStyles": "error"
|
|
12
|
+
},
|
|
13
|
+
"correctness": {
|
|
14
|
+
"noInvalidDirectionInLinearGradient": "error",
|
|
15
|
+
"noInvalidGridAreas": "error",
|
|
16
|
+
"noInvalidPositionAtImportRule": "error",
|
|
17
|
+
"noMissingVarFunction": "error",
|
|
18
|
+
"noUnknownFunction": "error",
|
|
19
|
+
"noUnknownMediaFeatureName": "error",
|
|
20
|
+
"noUnknownProperty": "error",
|
|
21
|
+
"noUnknownPseudoClass": "error",
|
|
22
|
+
"noUnknownPseudoElement": "error",
|
|
23
|
+
"noUnknownTypeSelector": "error",
|
|
24
|
+
"noUnknownUnit": "error",
|
|
25
|
+
"noUnmatchableAnbSelector": "error"
|
|
26
|
+
},
|
|
27
|
+
"style": {
|
|
28
|
+
"noDescendingSpecificity": "error",
|
|
29
|
+
"noValueAtRule": "error"
|
|
30
|
+
},
|
|
31
|
+
"suspicious": {
|
|
32
|
+
"noDuplicateAtImportRules": "error",
|
|
33
|
+
"noDuplicateCustomProperties": "error",
|
|
34
|
+
"noDuplicateFontNames": "error",
|
|
35
|
+
"noDuplicateProperties": "error",
|
|
36
|
+
"noDuplicateSelectorsKeyframeBlock": "error",
|
|
37
|
+
"noEmptyBlock": "error",
|
|
38
|
+
"noImportantInKeyframe": "error",
|
|
39
|
+
"noIrregularWhitespace": "error",
|
|
40
|
+
"noShorthandPropertyOverrides": "error",
|
|
41
|
+
"noUnknownAtRules": "error",
|
|
42
|
+
"noUselessEscapeInString": "error"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
46
|
}
|
package/biomeJsTs.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"root": false,
|
|
3
2
|
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
|
|
3
|
+
"root": false,
|
|
4
4
|
"linter": {
|
|
5
5
|
"enabled": true,
|
|
6
6
|
"rules": {
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"noHeaderScope": "error",
|
|
14
14
|
"noInteractiveElementToNoninteractiveRole": "error",
|
|
15
15
|
"noLabelWithoutControl": "error",
|
|
16
|
+
"noNoninteractiveElementInteractions": "error",
|
|
16
17
|
"noNoninteractiveElementToInteractiveRole": "error",
|
|
17
18
|
"noNoninteractiveTabindex": "error",
|
|
18
19
|
"noPositiveTabindex": "error",
|
|
@@ -48,10 +49,12 @@
|
|
|
48
49
|
"noCommaOperator": "error",
|
|
49
50
|
"noEmptyTypeParameters": "error",
|
|
50
51
|
"noExcessiveCognitiveComplexity": "warn",
|
|
52
|
+
"noExcessiveLinesPerFunction": "off",
|
|
51
53
|
"noExcessiveNestedTestSuites": "error",
|
|
52
54
|
"noExtraBooleanCast": "error",
|
|
53
55
|
"noFlatMapIdentity": "error",
|
|
54
56
|
"noForEach": "error",
|
|
57
|
+
"noImplicitCoercions": "error",
|
|
55
58
|
"noStaticOnlyClass": "error",
|
|
56
59
|
"noThisInStatic": "error",
|
|
57
60
|
"noUselessCatch": "error",
|
|
@@ -74,6 +77,7 @@
|
|
|
74
77
|
"useArrowFunction": "error",
|
|
75
78
|
"useDateNow": "error",
|
|
76
79
|
"useFlatMap": "error",
|
|
80
|
+
"useIndexOf": "error",
|
|
77
81
|
"useLiteralKeys": "error",
|
|
78
82
|
"useNumericLiterals": "error",
|
|
79
83
|
"useOptionalChain": "error",
|
|
@@ -84,27 +88,33 @@
|
|
|
84
88
|
},
|
|
85
89
|
"correctness": {
|
|
86
90
|
"noChildrenProp": "error",
|
|
87
|
-
"noConstAssign": "error",
|
|
88
91
|
"noConstantCondition": "error",
|
|
89
92
|
"noConstantMathMinMaxClamp": "error",
|
|
93
|
+
"noConstAssign": "error",
|
|
90
94
|
"noConstructorReturn": "error",
|
|
91
95
|
"noEmptyCharacterClassInRegex": "error",
|
|
92
96
|
"noEmptyPattern": "error",
|
|
97
|
+
"noGlobalDirnameFilename": "warn",
|
|
93
98
|
"noGlobalObjectCalls": "error",
|
|
94
99
|
"noInnerDeclarations": "error",
|
|
95
100
|
"noInvalidBuiltinInstantiation": "error",
|
|
96
101
|
"noInvalidConstructorSuper": "error",
|
|
97
102
|
"noInvalidUseBeforeDeclaration": "off",
|
|
103
|
+
"noNestedComponentDefinitions": "error",
|
|
98
104
|
"noNodejsModules": "off",
|
|
99
105
|
"noNonoctalDecimalEscape": "error",
|
|
100
106
|
"noPrecisionLoss": "error",
|
|
101
107
|
"noPrivateImports": "off",
|
|
108
|
+
"noProcessGlobal": "error",
|
|
109
|
+
"noReactPropAssignments": "error",
|
|
102
110
|
"noRenderReturnValue": "error",
|
|
111
|
+
"noRestrictedElements": "off",
|
|
103
112
|
"noSelfAssign": "error",
|
|
104
113
|
"noSetterReturn": "error",
|
|
114
|
+
"noSolidDestructuredProps": "off",
|
|
105
115
|
"noStringCaseMismatch": "error",
|
|
106
116
|
"noSwitchDeclarations": "error",
|
|
107
|
-
"noUndeclaredDependencies": "
|
|
117
|
+
"noUndeclaredDependencies": "error",
|
|
108
118
|
"noUndeclaredVariables": "off",
|
|
109
119
|
"noUnreachable": "error",
|
|
110
120
|
"noUnreachableSuper": "error",
|
|
@@ -126,75 +136,43 @@
|
|
|
126
136
|
"useHookAtTopLevel": "error",
|
|
127
137
|
"useImportExtensions": "off",
|
|
128
138
|
"useIsNan": "error",
|
|
139
|
+
"useJsonImportAttributes": "error",
|
|
129
140
|
"useJsxKeyInIterable": "error",
|
|
141
|
+
"useParseIntRadix": "error",
|
|
142
|
+
"useSingleJsDocAsterisk": "error",
|
|
143
|
+
"useUniqueElementIds": "error",
|
|
130
144
|
"useValidForDirection": "error",
|
|
131
145
|
"useValidTypeof": "error",
|
|
132
146
|
"useYield": "error"
|
|
133
147
|
},
|
|
134
148
|
"nursery": {
|
|
135
|
-
"noAwaitInLoop": "warn",
|
|
136
|
-
"noBitwiseOperators": "error",
|
|
137
|
-
"noConstantBinaryExpression": "error",
|
|
138
|
-
"noDestructuredProps": "off",
|
|
139
|
-
"noExcessiveLinesPerFunction": "off",
|
|
140
149
|
"noFloatingPromises": "error",
|
|
141
|
-
"noGlobalDirnameFilename": "warn",
|
|
142
|
-
"noImplicitCoercion": "error",
|
|
143
150
|
"noImportCycles": "error",
|
|
144
|
-
"noMagicNumbers": "off",
|
|
145
151
|
"noMisusedPromises": "error",
|
|
146
|
-
"noNestedComponentDefinitions": "error",
|
|
147
|
-
"noNoninteractiveElementInteractions": "error",
|
|
148
152
|
"noNonNullAssertedOptionalChain": "error",
|
|
149
|
-
"noProcessGlobal": "error",
|
|
150
|
-
"noReactPropAssign": "error",
|
|
151
|
-
"noRestrictedElements": "off",
|
|
152
153
|
"noSecrets": "off",
|
|
153
154
|
"noShadow": "off",
|
|
154
|
-
"noTsIgnore": "error",
|
|
155
|
-
"noUnassignedVariables": "error",
|
|
156
155
|
"noUnnecessaryConditions": "off",
|
|
157
156
|
"noUnresolvedImports": "off",
|
|
158
|
-
"noUnwantedPolyfillio": "off",
|
|
159
|
-
"noUselessBackrefInRegex": "error",
|
|
160
|
-
"noUselessEscapeInString": "error",
|
|
161
157
|
"noUselessUndefined": "error",
|
|
162
|
-
"useAdjacentGetterSetter": "error",
|
|
163
|
-
"useConsistentObjectDefinition": {
|
|
164
|
-
"level": "error",
|
|
165
|
-
"options": {
|
|
166
|
-
"syntax": "shorthand"
|
|
167
|
-
}
|
|
168
|
-
},
|
|
169
|
-
"useConsistentResponse": "error",
|
|
170
158
|
"useConsistentTypeDefinitions": "error",
|
|
171
159
|
"useExhaustiveSwitchCases": "error",
|
|
172
160
|
"useExplicitType": "off",
|
|
173
|
-
"useExportsLast": "error",
|
|
174
|
-
"useForComponent": "off",
|
|
175
|
-
"useGoogleFontPreconnect": "error",
|
|
176
|
-
"useIndexOf": "error",
|
|
177
|
-
"useIterableCallbackReturn": "off",
|
|
178
|
-
"useJsonImportAttribute": "error",
|
|
179
|
-
"useNumericSeparators": "error",
|
|
180
|
-
"useObjectSpread": "error",
|
|
181
|
-
"useParseIntRadix": "error",
|
|
182
161
|
"useReactFunctionComponents": "warn",
|
|
183
|
-
"
|
|
184
|
-
"useSingleJsDocAsterisk": "error",
|
|
185
|
-
"useSortedClasses": "off",
|
|
186
|
-
"useSymbolDescription": "error",
|
|
187
|
-
"useUnifiedTypeSignature": "error",
|
|
188
|
-
"useUniqueElementIds": "error"
|
|
162
|
+
"useSortedClasses": "off"
|
|
189
163
|
},
|
|
190
164
|
"performance": {
|
|
191
165
|
"noAccumulatingSpread": "error",
|
|
166
|
+
"noAwaitInLoops": "warn",
|
|
192
167
|
"noBarrelFile": "error",
|
|
193
168
|
"noDelete": "error",
|
|
194
169
|
"noDynamicNamespaceImportAccess": "error",
|
|
195
170
|
"noImgElement": "off",
|
|
196
171
|
"noNamespaceImport": "error",
|
|
197
172
|
"noReExportAll": "error",
|
|
173
|
+
"noUnwantedPolyfillio": "off",
|
|
174
|
+
"useGoogleFontPreconnect": "error",
|
|
175
|
+
"useSolidForComponent": "off",
|
|
198
176
|
"useTopLevelRegex": "error"
|
|
199
177
|
},
|
|
200
178
|
"security": {
|
|
@@ -212,6 +190,7 @@
|
|
|
212
190
|
"noHeadElement": "off",
|
|
213
191
|
"noImplicitBoolean": "off",
|
|
214
192
|
"noInferrableTypes": "error",
|
|
193
|
+
"noMagicNumbers": "off",
|
|
215
194
|
"noNamespace": "error",
|
|
216
195
|
"noNegationElse": "error",
|
|
217
196
|
"noNestedTernary": "error",
|
|
@@ -243,56 +222,69 @@
|
|
|
243
222
|
"accessibility": "explicit"
|
|
244
223
|
}
|
|
245
224
|
},
|
|
225
|
+
"useConsistentObjectDefinitions": {
|
|
226
|
+
"level": "error",
|
|
227
|
+
"options": {
|
|
228
|
+
"syntax": "shorthand"
|
|
229
|
+
}
|
|
230
|
+
},
|
|
246
231
|
"useConst": "error",
|
|
247
232
|
"useDefaultParameterLast": "error",
|
|
248
233
|
"useDefaultSwitchClause": "off",
|
|
249
234
|
"useEnumInitializers": "error",
|
|
250
235
|
"useExplicitLengthCheck": "error",
|
|
251
236
|
"useExponentiationOperator": "error",
|
|
237
|
+
"useExportsLast": "error",
|
|
252
238
|
"useExportType": "error",
|
|
253
239
|
"useFilenamingConvention": {
|
|
254
240
|
"level": "error",
|
|
255
241
|
"options": {
|
|
256
|
-
"strictCase": true,
|
|
257
242
|
"filenameCases": [
|
|
258
243
|
"camelCase",
|
|
259
244
|
"PascalCase"
|
|
260
|
-
]
|
|
245
|
+
],
|
|
246
|
+
"strictCase": true
|
|
261
247
|
}
|
|
262
248
|
},
|
|
263
249
|
"useForOf": "error",
|
|
264
250
|
"useFragmentSyntax": "off",
|
|
251
|
+
"useGroupedAccessorPairs": "error",
|
|
265
252
|
"useImportType": "error",
|
|
266
253
|
"useLiteralEnumMembers": "error",
|
|
267
254
|
"useNamingConvention": {
|
|
268
255
|
"level": "error",
|
|
269
256
|
"options": {
|
|
270
|
-
"strictCase": true,
|
|
271
|
-
"requireAscii": true,
|
|
272
257
|
"conventions": [
|
|
273
258
|
{
|
|
274
|
-
"selector": {
|
|
275
|
-
"kind": "typeParameter"
|
|
276
|
-
},
|
|
277
|
-
"match": "T(.+)",
|
|
278
259
|
"formats": [
|
|
279
260
|
"PascalCase"
|
|
280
|
-
]
|
|
261
|
+
],
|
|
262
|
+
"match": "T(.+)",
|
|
263
|
+
"selector": {
|
|
264
|
+
"kind": "typeParameter"
|
|
265
|
+
}
|
|
281
266
|
}
|
|
282
|
-
]
|
|
267
|
+
],
|
|
268
|
+
"requireAscii": true,
|
|
269
|
+
"strictCase": true
|
|
283
270
|
}
|
|
284
271
|
},
|
|
285
272
|
"useNodeAssertStrict": "error",
|
|
286
273
|
"useNodejsImportProtocol": "error",
|
|
287
274
|
"useNumberNamespace": "error",
|
|
275
|
+
"useNumericSeparators": "error",
|
|
276
|
+
"useObjectSpread": "error",
|
|
277
|
+
"useReadonlyClassProperties": "error",
|
|
288
278
|
"useSelfClosingElements": "error",
|
|
289
279
|
"useShorthandAssign": "error",
|
|
290
280
|
"useShorthandFunctionType": "error",
|
|
291
281
|
"useSingleVarDeclarator": "error",
|
|
282
|
+
"useSymbolDescription": "error",
|
|
292
283
|
"useTemplate": "error",
|
|
293
284
|
"useThrowNewError": "error",
|
|
294
285
|
"useThrowOnlyError": "error",
|
|
295
|
-
"useTrimStartEnd": "error"
|
|
286
|
+
"useTrimStartEnd": "error",
|
|
287
|
+
"useUnifiedTypeSignatures": "error"
|
|
296
288
|
},
|
|
297
289
|
"suspicious": {
|
|
298
290
|
"noAlert": "error",
|
|
@@ -300,6 +292,7 @@
|
|
|
300
292
|
"noArrayIndexKey": "error",
|
|
301
293
|
"noAssignInExpressions": "error",
|
|
302
294
|
"noAsyncPromiseExecutor": "error",
|
|
295
|
+
"noBitwiseOperators": "error",
|
|
303
296
|
"noCatchAssign": "error",
|
|
304
297
|
"noClassAssign": "error",
|
|
305
298
|
"noCommentText": "error",
|
|
@@ -307,6 +300,7 @@
|
|
|
307
300
|
"noConfusingLabels": "error",
|
|
308
301
|
"noConfusingVoidType": "error",
|
|
309
302
|
"noConsole": "error",
|
|
303
|
+
"noConstantBinaryExpressions": "error",
|
|
310
304
|
"noConstEnum": "error",
|
|
311
305
|
"noControlCharactersInRegex": "error",
|
|
312
306
|
"noDebugger": "error",
|
|
@@ -353,8 +347,12 @@
|
|
|
353
347
|
"noSuspiciousSemicolonInJsx": "error",
|
|
354
348
|
"noTemplateCurlyInString": "error",
|
|
355
349
|
"noThenProperty": "error",
|
|
350
|
+
"noTsIgnore": "error",
|
|
351
|
+
"noUnassignedVariables": "error",
|
|
356
352
|
"noUnsafeDeclarationMerging": "error",
|
|
357
353
|
"noUnsafeNegation": "error",
|
|
354
|
+
"noUselessEscapeInString": "error",
|
|
355
|
+
"noUselessRegexBackrefs": "error",
|
|
358
356
|
"noVar": "error",
|
|
359
357
|
"noWith": "error",
|
|
360
358
|
"useAdjacentOverloadSignatures": "error",
|
|
@@ -365,8 +363,10 @@
|
|
|
365
363
|
"useGoogleFontDisplay": "error",
|
|
366
364
|
"useGuardForIn": "error",
|
|
367
365
|
"useIsArray": "error",
|
|
366
|
+
"useIterableCallbackReturn": "off",
|
|
368
367
|
"useNamespaceKeyword": "error",
|
|
369
368
|
"useNumberToFixedDigitsArgument": "error",
|
|
369
|
+
"useStaticResponseMethods": "error",
|
|
370
370
|
"useStrictMode": "error"
|
|
371
371
|
}
|
|
372
372
|
}
|
package/biomeJson.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
2
|
+
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
|
|
3
|
+
"root": false,
|
|
4
|
+
"linter": {
|
|
5
|
+
"enabled": true,
|
|
6
|
+
"rules": {
|
|
7
|
+
"suspicious": {
|
|
8
|
+
"noBiomeFirstException": "error",
|
|
9
|
+
"noDuplicateObjectKeys": "error",
|
|
10
|
+
"noQuickfixBiome": "error",
|
|
11
|
+
"useBiomeIgnoreFolder": "error"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
15
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-heck",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.1",
|
|
4
4
|
"description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@stylistic/eslint-plugin": "5.2.3",
|
|
32
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
33
|
-
"@typescript-eslint/parser": "8.
|
|
32
|
+
"@typescript-eslint/eslint-plugin": "8.40.0",
|
|
33
|
+
"@typescript-eslint/parser": "8.40.0",
|
|
34
34
|
"eslint": "9.33.0",
|
|
35
35
|
"eslint-plugin-import": "2.32.0",
|
|
36
36
|
"eslint-plugin-jest": "29.0.1",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"typescript": "5.9.2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@biomejs/biome": "2.
|
|
45
|
+
"@biomejs/biome": "2.2.0",
|
|
46
46
|
"@testing-library/dom": "10.4.1",
|
|
47
47
|
"@testing-library/react": "16.3.0",
|
|
48
48
|
"@types/jest": "30.0.0",
|