eslint-config-heck 7.0.0 → 7.0.2
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/biomeJsTs.json +8 -2
- package/nodeWithBiome.js +13 -12
- package/package.json +5 -5
package/biomeJsTs.json
CHANGED
|
@@ -131,8 +131,10 @@
|
|
|
131
131
|
"noBitwiseOperators": "error",
|
|
132
132
|
"noConstantBinaryExpression": "error",
|
|
133
133
|
"noDestructuredProps": "off",
|
|
134
|
+
"noExcessiveLinesPerFunction": "off",
|
|
134
135
|
"noFloatingPromises": "error",
|
|
135
136
|
"noGlobalDirnameFilename": "warn",
|
|
137
|
+
"noImplicitCoercion": "error",
|
|
136
138
|
"noImportCycles": "error",
|
|
137
139
|
"noNestedComponentDefinitions": "error",
|
|
138
140
|
"noNoninteractiveElementInteractions": "error",
|
|
@@ -140,8 +142,9 @@
|
|
|
140
142
|
"noReactPropAssign": "error",
|
|
141
143
|
"noRestrictedElements": "off",
|
|
142
144
|
"noSecrets": "off",
|
|
143
|
-
"noShadow": "
|
|
145
|
+
"noShadow": "off",
|
|
144
146
|
"noTsIgnore": "error",
|
|
147
|
+
"noUnassignedVariables": "error",
|
|
145
148
|
"noUnresolvedImports": "off",
|
|
146
149
|
"noUnwantedPolyfillio": "off",
|
|
147
150
|
"noUselessBackrefInRegex": "error",
|
|
@@ -161,14 +164,16 @@
|
|
|
161
164
|
"useForComponent": "off",
|
|
162
165
|
"useGoogleFontPreconnect": "error",
|
|
163
166
|
"useIndexOf": "error",
|
|
164
|
-
"useIterableCallbackReturn": "
|
|
167
|
+
"useIterableCallbackReturn": "off",
|
|
165
168
|
"useJsonImportAttribute": "error",
|
|
166
169
|
"useNumericSeparators": "error",
|
|
167
170
|
"useObjectSpread": "error",
|
|
168
171
|
"useParseIntRadix": "error",
|
|
172
|
+
"useReadonlyClassProperties": "error",
|
|
169
173
|
"useSingleJsDocAsterisk": "error",
|
|
170
174
|
"useSortedClasses": "off",
|
|
171
175
|
"useSymbolDescription": "error",
|
|
176
|
+
"useUnifiedTypeSignature": "error",
|
|
172
177
|
"useUniqueElementIds": "error"
|
|
173
178
|
},
|
|
174
179
|
"performance": {
|
|
@@ -279,6 +284,7 @@
|
|
|
279
284
|
"useTrimStartEnd": "error"
|
|
280
285
|
},
|
|
281
286
|
"suspicious": {
|
|
287
|
+
"noAlert": "error",
|
|
282
288
|
"noApproximativeNumericConstant": "error",
|
|
283
289
|
"noArrayIndexKey": "error",
|
|
284
290
|
"noAssignInExpressions": "error",
|
package/nodeWithBiome.js
CHANGED
|
@@ -43,7 +43,13 @@ export default [
|
|
|
43
43
|
},
|
|
44
44
|
rules: {
|
|
45
45
|
// Possible problems
|
|
46
|
-
"array-callback-return":
|
|
46
|
+
"array-callback-return": [
|
|
47
|
+
"error",
|
|
48
|
+
{
|
|
49
|
+
allowImplicit: true,
|
|
50
|
+
checkForEach: false,
|
|
51
|
+
},
|
|
52
|
+
],
|
|
47
53
|
"constructor-super": "off",
|
|
48
54
|
"for-direction": "off",
|
|
49
55
|
"getter-return": "off",
|
|
@@ -156,7 +162,7 @@ export default [
|
|
|
156
162
|
"max-statements": "off",
|
|
157
163
|
"multiline-comment-style": "off",
|
|
158
164
|
"new-cap": "error",
|
|
159
|
-
"no-alert": "
|
|
165
|
+
"no-alert": "off",
|
|
160
166
|
"no-array-constructor": "off",
|
|
161
167
|
"no-bitwise": "off",
|
|
162
168
|
"no-caller": "error",
|
|
@@ -176,7 +182,7 @@ export default [
|
|
|
176
182
|
"no-extra-boolean-cast": "off",
|
|
177
183
|
"no-extra-label": "off",
|
|
178
184
|
"no-global-assign": "off",
|
|
179
|
-
"no-implicit-coercion": "
|
|
185
|
+
"no-implicit-coercion": "off",
|
|
180
186
|
"no-implicit-globals": "off",
|
|
181
187
|
"no-implied-eval": "error",
|
|
182
188
|
"no-inline-comments": "error",
|
|
@@ -212,11 +218,11 @@ export default [
|
|
|
212
218
|
"no-return-assign": "off",
|
|
213
219
|
"no-script-url": "error",
|
|
214
220
|
"no-sequences": "off",
|
|
215
|
-
"no-shadow": "
|
|
221
|
+
"no-shadow": "error",
|
|
216
222
|
"no-shadow-restricted-names": "off",
|
|
217
223
|
"no-ternary": "off",
|
|
218
224
|
"no-throw-literal": "off",
|
|
219
|
-
"no-unassigned-vars": "
|
|
225
|
+
"no-unassigned-vars": "off",
|
|
220
226
|
"no-undef-init": "off",
|
|
221
227
|
"no-undefined": "off",
|
|
222
228
|
"no-underscore-dangle": [
|
|
@@ -896,12 +902,7 @@ export default [
|
|
|
896
902
|
"@typescript-eslint/prefer-optional-chain": "error",
|
|
897
903
|
"prefer-promise-reject-errors": "off",
|
|
898
904
|
"@typescript-eslint/prefer-promise-reject-errors": "error",
|
|
899
|
-
"@typescript-eslint/prefer-readonly":
|
|
900
|
-
"error",
|
|
901
|
-
{
|
|
902
|
-
onlyInlineLambdas: true,
|
|
903
|
-
},
|
|
904
|
-
],
|
|
905
|
+
"@typescript-eslint/prefer-readonly": "off",
|
|
905
906
|
"@typescript-eslint/prefer-readonly-parameter-types": "off",
|
|
906
907
|
"@typescript-eslint/prefer-reduce-type-parameter": "error",
|
|
907
908
|
"@typescript-eslint/prefer-regexp-exec": "error",
|
|
@@ -925,7 +926,7 @@ export default [
|
|
|
925
926
|
ignoreStatic: true,
|
|
926
927
|
},
|
|
927
928
|
],
|
|
928
|
-
"@typescript-eslint/unified-signatures": "
|
|
929
|
+
"@typescript-eslint/unified-signatures": "off",
|
|
929
930
|
"@typescript-eslint/use-unknown-in-catch-callback-variable": "error",
|
|
930
931
|
|
|
931
932
|
// Typescript handles itself
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-heck",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.2",
|
|
4
4
|
"description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"author": "atheck",
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@stylistic/eslint-plugin": "5.
|
|
31
|
+
"@stylistic/eslint-plugin": "5.1.0",
|
|
32
32
|
"@typescript-eslint/eslint-plugin": "8.35.0",
|
|
33
33
|
"@typescript-eslint/parser": "8.35.0",
|
|
34
|
-
"eslint": "9.
|
|
34
|
+
"eslint": "9.30.0",
|
|
35
35
|
"eslint-plugin-import": "2.32.0",
|
|
36
36
|
"eslint-plugin-jest": "29.0.1",
|
|
37
37
|
"eslint-plugin-react": "7.37.5",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"typescript": "5.8.3"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@biomejs/biome": "2.0.
|
|
45
|
+
"@biomejs/biome": "2.0.6",
|
|
46
46
|
"@testing-library/dom": "10.4.0",
|
|
47
47
|
"@testing-library/react": "16.3.0",
|
|
48
48
|
"@types/jest": "30.0.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"globals": "16.2.0",
|
|
51
51
|
"jest": "30.0.3",
|
|
52
52
|
"react": "19.1.0",
|
|
53
|
-
"semantic-release": "24.2.
|
|
53
|
+
"semantic-release": "24.2.6"
|
|
54
54
|
},
|
|
55
55
|
"repository": {
|
|
56
56
|
"type": "git",
|