eslint-config-heck 7.0.1 → 7.0.3
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 +6 -0
- package/nodeWithBiome.js +6 -11
- package/package.json +8 -8
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",
|
|
@@ -142,6 +144,7 @@
|
|
|
142
144
|
"noSecrets": "off",
|
|
143
145
|
"noShadow": "off",
|
|
144
146
|
"noTsIgnore": "error",
|
|
147
|
+
"noUnassignedVariables": "error",
|
|
145
148
|
"noUnresolvedImports": "off",
|
|
146
149
|
"noUnwantedPolyfillio": "off",
|
|
147
150
|
"noUselessBackrefInRegex": "error",
|
|
@@ -166,9 +169,11 @@
|
|
|
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
|
@@ -162,7 +162,7 @@ export default [
|
|
|
162
162
|
"max-statements": "off",
|
|
163
163
|
"multiline-comment-style": "off",
|
|
164
164
|
"new-cap": "error",
|
|
165
|
-
"no-alert": "
|
|
165
|
+
"no-alert": "off",
|
|
166
166
|
"no-array-constructor": "off",
|
|
167
167
|
"no-bitwise": "off",
|
|
168
168
|
"no-caller": "error",
|
|
@@ -182,7 +182,7 @@ export default [
|
|
|
182
182
|
"no-extra-boolean-cast": "off",
|
|
183
183
|
"no-extra-label": "off",
|
|
184
184
|
"no-global-assign": "off",
|
|
185
|
-
"no-implicit-coercion": "
|
|
185
|
+
"no-implicit-coercion": "off",
|
|
186
186
|
"no-implicit-globals": "off",
|
|
187
187
|
"no-implied-eval": "error",
|
|
188
188
|
"no-inline-comments": "error",
|
|
@@ -222,7 +222,7 @@ export default [
|
|
|
222
222
|
"no-shadow-restricted-names": "off",
|
|
223
223
|
"no-ternary": "off",
|
|
224
224
|
"no-throw-literal": "off",
|
|
225
|
-
"no-unassigned-vars": "
|
|
225
|
+
"no-unassigned-vars": "off",
|
|
226
226
|
"no-undef-init": "off",
|
|
227
227
|
"no-undefined": "off",
|
|
228
228
|
"no-underscore-dangle": [
|
|
@@ -707,7 +707,7 @@ export default [
|
|
|
707
707
|
"importPlugin/newline-after-import": "off",
|
|
708
708
|
"importPlugin/no-anonymous-default-export": "error",
|
|
709
709
|
"importPlugin/no-default-export": "off",
|
|
710
|
-
"importPlugin/no-duplicates": "error",
|
|
710
|
+
"importPlugin/no-duplicates": ["error", { "prefer-inline": true }],
|
|
711
711
|
"importPlugin/no-named-default": "off",
|
|
712
712
|
"importPlugin/no-named-export": "off",
|
|
713
713
|
"importPlugin/no-namespace": "off",
|
|
@@ -902,12 +902,7 @@ export default [
|
|
|
902
902
|
"@typescript-eslint/prefer-optional-chain": "error",
|
|
903
903
|
"prefer-promise-reject-errors": "off",
|
|
904
904
|
"@typescript-eslint/prefer-promise-reject-errors": "error",
|
|
905
|
-
"@typescript-eslint/prefer-readonly":
|
|
906
|
-
"error",
|
|
907
|
-
{
|
|
908
|
-
onlyInlineLambdas: true,
|
|
909
|
-
},
|
|
910
|
-
],
|
|
905
|
+
"@typescript-eslint/prefer-readonly": "off",
|
|
911
906
|
"@typescript-eslint/prefer-readonly-parameter-types": "off",
|
|
912
907
|
"@typescript-eslint/prefer-reduce-type-parameter": "error",
|
|
913
908
|
"@typescript-eslint/prefer-regexp-exec": "error",
|
|
@@ -931,7 +926,7 @@ export default [
|
|
|
931
926
|
ignoreStatic: true,
|
|
932
927
|
},
|
|
933
928
|
],
|
|
934
|
-
"@typescript-eslint/unified-signatures": "
|
|
929
|
+
"@typescript-eslint/unified-signatures": "off",
|
|
935
930
|
"@typescript-eslint/use-unknown-in-catch-callback-variable": "error",
|
|
936
931
|
|
|
937
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.3",
|
|
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.
|
|
32
|
-
"@typescript-eslint/eslint-plugin": "8.35.
|
|
33
|
-
"@typescript-eslint/parser": "8.35.
|
|
34
|
-
"eslint": "9.
|
|
31
|
+
"@stylistic/eslint-plugin": "5.1.0",
|
|
32
|
+
"@typescript-eslint/eslint-plugin": "8.35.1",
|
|
33
|
+
"@typescript-eslint/parser": "8.35.1",
|
|
34
|
+
"eslint": "9.30.1",
|
|
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,15 +42,15 @@
|
|
|
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",
|
|
49
49
|
"@types/react": "19.1.8",
|
|
50
|
-
"globals": "16.
|
|
50
|
+
"globals": "16.3.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",
|