eslint-config-heck 2.7.0 → 2.8.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/biomeLinting.json +6 -1
- package/nodeWithBiome.cjs +5 -5
- package/package.json +9 -9
package/biomeLinting.json
CHANGED
|
@@ -233,12 +233,17 @@
|
|
|
233
233
|
"noDoneCallback": "error",
|
|
234
234
|
"noDuplicateElseIf": "error",
|
|
235
235
|
"noDuplicateJsonKeys": "error",
|
|
236
|
-
"noEvolvingAny": "
|
|
236
|
+
"noEvolvingAny": "off",
|
|
237
237
|
"noFlatMapIdentity": "error",
|
|
238
238
|
"noMisplacedAssertion": "error",
|
|
239
239
|
"noNodejsModules": "off",
|
|
240
|
+
"noReactSpecificProps": "off",
|
|
240
241
|
"noRestrictedImports": "off",
|
|
241
242
|
"noUndeclaredDependencies": "off",
|
|
243
|
+
"noUselessUndefinedInitialization": "error",
|
|
244
|
+
"useArrayLiterals": "error",
|
|
245
|
+
"useConsistentBuiltinInstatiation": "error",
|
|
246
|
+
"useDefaultSwitchClause": "off",
|
|
242
247
|
"useImportRestrictions": "error",
|
|
243
248
|
"useSortedClasses": "off"
|
|
244
249
|
}
|
package/nodeWithBiome.cjs
CHANGED
|
@@ -145,7 +145,7 @@ const rules = {
|
|
|
145
145
|
"no-multi-str": "error",
|
|
146
146
|
"no-new": "error",
|
|
147
147
|
"no-new-func": "error",
|
|
148
|
-
"no-new-wrappers": "
|
|
148
|
+
"no-new-wrappers": "off",
|
|
149
149
|
"no-nonoctal-decimal-escape": "off",
|
|
150
150
|
"no-octal-escape": "error",
|
|
151
151
|
"no-param-reassign": "off",
|
|
@@ -198,7 +198,7 @@ const rules = {
|
|
|
198
198
|
"no-shadow": "error",
|
|
199
199
|
"no-shadow-restricted-names": "off",
|
|
200
200
|
"no-undef": "off",
|
|
201
|
-
"no-undef-init": "
|
|
201
|
+
"no-undef-init": "off",
|
|
202
202
|
"no-undefined": "off",
|
|
203
203
|
"no-unused-vars": "off",
|
|
204
204
|
"no-use-before-define": ["error", "nofunc"],
|
|
@@ -254,7 +254,7 @@ const rules = {
|
|
|
254
254
|
"new-cap": "error",
|
|
255
255
|
"new-parens": "off",
|
|
256
256
|
"newline-per-chained-call": "off",
|
|
257
|
-
"no-array-constructor": "
|
|
257
|
+
"no-array-constructor": "off",
|
|
258
258
|
"no-bitwise": [
|
|
259
259
|
"error",
|
|
260
260
|
{
|
|
@@ -608,7 +608,7 @@ const rules = {
|
|
|
608
608
|
"unicorn/explicit-length-check": "error",
|
|
609
609
|
"unicorn/filename-case": "off",
|
|
610
610
|
"unicorn/import-style": "error",
|
|
611
|
-
"unicorn/new-for-builtins": "
|
|
611
|
+
"unicorn/new-for-builtins": "off",
|
|
612
612
|
"unicorn/no-abusive-eslint-disable": "error",
|
|
613
613
|
"unicorn/no-anonymous-default-export": "error",
|
|
614
614
|
"unicorn/no-array-callback-reference": "off",
|
|
@@ -988,7 +988,7 @@ const overrides = [
|
|
|
988
988
|
"lines-between-class-members": "off",
|
|
989
989
|
"@typescript-eslint/lines-between-class-members": "off",
|
|
990
990
|
"no-array-constructor": "off",
|
|
991
|
-
"@typescript-eslint/no-array-constructor": "
|
|
991
|
+
"@typescript-eslint/no-array-constructor": "off",
|
|
992
992
|
"no-dupe-class-members": "off",
|
|
993
993
|
"@typescript-eslint/no-dupe-class-members": "off",
|
|
994
994
|
"no-empty-function": "off",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-heck",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.0",
|
|
4
4
|
"description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -29,15 +29,15 @@
|
|
|
29
29
|
"author": "atheck",
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@typescript-eslint/eslint-plugin": "7.
|
|
33
|
-
"@typescript-eslint/parser": "7.
|
|
32
|
+
"@typescript-eslint/eslint-plugin": "7.8.0",
|
|
33
|
+
"@typescript-eslint/parser": "7.8.0",
|
|
34
34
|
"eslint": "8.57.0",
|
|
35
35
|
"eslint-import-resolver-typescript": "3.6.1",
|
|
36
36
|
"eslint-plugin-deprecation": "2.0.0",
|
|
37
37
|
"eslint-plugin-import": "2.29.1",
|
|
38
|
-
"eslint-plugin-jest": "28.
|
|
38
|
+
"eslint-plugin-jest": "28.3.0",
|
|
39
39
|
"eslint-plugin-react": "7.34.1",
|
|
40
|
-
"eslint-plugin-react-hooks": "4.6.
|
|
40
|
+
"eslint-plugin-react-hooks": "4.6.2",
|
|
41
41
|
"eslint-plugin-react-native": "4.1.0",
|
|
42
42
|
"eslint-plugin-testing-library": "6.2.2",
|
|
43
43
|
"eslint-plugin-typescript-heck": "1.3.1",
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"typescript": "5.4.5"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@biomejs/biome": "1.7.
|
|
49
|
-
"@testing-library/react": "15.0.
|
|
48
|
+
"@biomejs/biome": "1.7.2",
|
|
49
|
+
"@testing-library/react": "15.0.5",
|
|
50
50
|
"@types/jest": "29.5.12",
|
|
51
|
-
"@types/react": "18.
|
|
51
|
+
"@types/react": "18.3.1",
|
|
52
52
|
"jest": "29.7.0",
|
|
53
|
-
"react": "18.
|
|
53
|
+
"react": "18.3.1",
|
|
54
54
|
"semantic-release": "23.0.8"
|
|
55
55
|
},
|
|
56
56
|
"repository": {
|