eslint-config-heck 10.1.0 → 10.2.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/biomeJsTs.json +3 -0
- package/nodeWithBiome.js +4 -4
- package/package.json +6 -6
package/biomeJsTs.json
CHANGED
|
@@ -150,6 +150,7 @@
|
|
|
150
150
|
},
|
|
151
151
|
"nursery": {
|
|
152
152
|
"noAmbiguousAnchorText": "off",
|
|
153
|
+
"noBaseToString": "error",
|
|
153
154
|
"noComponentHookFactories": "off",
|
|
154
155
|
"noConditionalExpect": "error",
|
|
155
156
|
"noContinue": "off",
|
|
@@ -237,7 +238,9 @@
|
|
|
237
238
|
"useSortedClasses": "off",
|
|
238
239
|
"useSpread": "error",
|
|
239
240
|
"useStringStartsEndsWith": "error",
|
|
241
|
+
"useTestHooksInOrder": "error",
|
|
240
242
|
"useTestHooksOnTop": "error",
|
|
243
|
+
"useThisInClassMethods": "error",
|
|
241
244
|
"useUnicodeRegex": "error",
|
|
242
245
|
"useVarsOnTop": "error"
|
|
243
246
|
},
|
package/nodeWithBiome.js
CHANGED
|
@@ -120,7 +120,7 @@ export default [
|
|
|
120
120
|
"block-scoped-var": "error",
|
|
121
121
|
camelcase: "off",
|
|
122
122
|
"capitalized-comments": "off",
|
|
123
|
-
"class-methods-use-this": "
|
|
123
|
+
"class-methods-use-this": "off",
|
|
124
124
|
complexity: "off",
|
|
125
125
|
"consistent-return": "error",
|
|
126
126
|
"consistent-this": ["error", "that"],
|
|
@@ -744,7 +744,7 @@ export default [
|
|
|
744
744
|
"@typescript-eslint/ban-types": "off",
|
|
745
745
|
"@typescript-eslint/class-literal-property-style": "error",
|
|
746
746
|
"class-methods-use-this": "off",
|
|
747
|
-
"@typescript-eslint/class-methods-use-this": "
|
|
747
|
+
"@typescript-eslint/class-methods-use-this": "off",
|
|
748
748
|
"@typescript-eslint/consistent-generic-constructors": "error",
|
|
749
749
|
"@typescript-eslint/consistent-indexed-object-style": "error",
|
|
750
750
|
"@typescript-eslint/consistent-type-assertions": "error",
|
|
@@ -776,7 +776,7 @@ export default [
|
|
|
776
776
|
"no-array-constructor": "off",
|
|
777
777
|
"@typescript-eslint/no-array-constructor": "off",
|
|
778
778
|
"@typescript-eslint/no-array-delete": "off",
|
|
779
|
-
"@typescript-eslint/no-base-to-string": "
|
|
779
|
+
"@typescript-eslint/no-base-to-string": "off",
|
|
780
780
|
"@typescript-eslint/no-confusing-non-null-assertion": "error",
|
|
781
781
|
"@typescript-eslint/no-confusing-void-expression": "off",
|
|
782
782
|
"@typescript-eslint/no-deprecated": "off",
|
|
@@ -1007,7 +1007,7 @@ export default [
|
|
|
1007
1007
|
"jest/prefer-equality-matcher": "error",
|
|
1008
1008
|
"jest/prefer-expect-assertions": "off",
|
|
1009
1009
|
"jest/prefer-expect-resolves": "error",
|
|
1010
|
-
"jest/prefer-hooks-in-order": "
|
|
1010
|
+
"jest/prefer-hooks-in-order": "off",
|
|
1011
1011
|
"jest/prefer-hooks-on-top": "off",
|
|
1012
1012
|
"jest/prefer-importing-jest-globals": "off",
|
|
1013
1013
|
"jest/prefer-jest-mocked": "error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-heck",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.2.0",
|
|
4
4
|
"description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@stylistic/eslint-plugin": "5.10.0",
|
|
31
|
-
"@typescript-eslint/eslint-plugin": "8.59.
|
|
32
|
-
"@typescript-eslint/parser": "8.59.
|
|
31
|
+
"@typescript-eslint/eslint-plugin": "8.59.2",
|
|
32
|
+
"@typescript-eslint/parser": "8.59.2",
|
|
33
33
|
"eslint": "9.39.4",
|
|
34
34
|
"eslint-plugin-import": "2.32.0",
|
|
35
35
|
"eslint-plugin-jest": "29.15.2",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"typescript": "6.0.3"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@biomejs/biome": "2.4.
|
|
43
|
+
"@biomejs/biome": "2.4.15",
|
|
44
44
|
"@testing-library/dom": "10.4.1",
|
|
45
45
|
"@testing-library/react": "16.3.2",
|
|
46
46
|
"@types/jest": "30.0.0",
|
|
47
47
|
"@types/react": "19.2.14",
|
|
48
48
|
"globals": "17.6.0",
|
|
49
|
-
"jest": "30.
|
|
50
|
-
"react": "19.2.
|
|
49
|
+
"jest": "30.4.2",
|
|
50
|
+
"react": "19.2.6",
|
|
51
51
|
"semantic-release": "25.0.3"
|
|
52
52
|
},
|
|
53
53
|
"repository": {
|