eslint-config-heck 5.1.0 → 6.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/package.json +11 -9
- package/readme.md +8 -10
- package/biomeLinting.json +0 -11
package/package.json
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-heck",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.1",
|
|
4
4
|
"description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"exports": {
|
|
8
|
-
"./
|
|
8
|
+
"./biomeJsTs": "./biomeJsTs.json",
|
|
9
|
+
"./biomeCss": "./biomeCss.json",
|
|
10
|
+
"./biomeJson": "./biomeJson.json",
|
|
9
11
|
"./node": "./node.js",
|
|
10
12
|
"./nodeWithBiome": "./nodeWithBiome.js",
|
|
11
13
|
"./complexity": "./complexity.js",
|
|
@@ -26,28 +28,28 @@
|
|
|
26
28
|
"author": "atheck",
|
|
27
29
|
"license": "MIT",
|
|
28
30
|
"dependencies": {
|
|
29
|
-
"@stylistic/eslint-plugin": "4.0
|
|
30
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
31
|
-
"@typescript-eslint/parser": "8.
|
|
31
|
+
"@stylistic/eslint-plugin": "4.2.0",
|
|
32
|
+
"@typescript-eslint/eslint-plugin": "8.26.0",
|
|
33
|
+
"@typescript-eslint/parser": "8.26.0",
|
|
32
34
|
"eslint": "9.21.0",
|
|
33
35
|
"eslint-plugin-import": "2.31.0",
|
|
34
36
|
"eslint-plugin-jest": "28.11.0",
|
|
35
37
|
"eslint-plugin-react": "7.37.4",
|
|
36
|
-
"eslint-plugin-react-hooks": "5.
|
|
38
|
+
"eslint-plugin-react-hooks": "5.2.0",
|
|
37
39
|
"eslint-plugin-react-native": "5.0.0",
|
|
38
40
|
"eslint-plugin-testing-library": "7.1.1",
|
|
39
41
|
"eslint-plugin-unicorn": "57.0.0",
|
|
40
|
-
"typescript": "5.
|
|
42
|
+
"typescript": "5.8.2"
|
|
41
43
|
},
|
|
42
44
|
"devDependencies": {
|
|
43
45
|
"@biomejs/biome": "1.9.4",
|
|
44
46
|
"@testing-library/dom": "10.4.0",
|
|
45
47
|
"@testing-library/react": "16.2.0",
|
|
46
48
|
"@types/jest": "29.5.14",
|
|
47
|
-
"@types/react": "
|
|
49
|
+
"@types/react": "19.0.10",
|
|
48
50
|
"globals": "16.0.0",
|
|
49
51
|
"jest": "29.7.0",
|
|
50
|
-
"react": "
|
|
52
|
+
"react": "19.0.0",
|
|
51
53
|
"semantic-release": "24.2.3"
|
|
52
54
|
},
|
|
53
55
|
"repository": {
|
package/readme.md
CHANGED
|
@@ -87,19 +87,17 @@ If you are using Biome you can use the "nodeWithBiome" configuration:
|
|
|
87
87
|
}
|
|
88
88
|
~~~
|
|
89
89
|
|
|
90
|
-
If you are using Biome you can also extend your Biome config with the
|
|
90
|
+
If you are using Biome you can also extend your Biome config with the following Biome configurations:
|
|
91
|
+
|
|
92
|
+
- JavaScript/TypeScript: biomeJsTs
|
|
93
|
+
- CSS: biomeCss
|
|
94
|
+
- JSON: biomeJson
|
|
95
|
+
|
|
96
|
+
To enable all Biome rules, you can use the following configuration:
|
|
91
97
|
|
|
92
98
|
~~~json
|
|
93
99
|
{
|
|
94
100
|
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
|
|
95
|
-
"extends": ["
|
|
101
|
+
"extends": ["eslint-config-heck/biomeJsTs", "eslint-config-heck/biomeCss", "eslint-config-heck/biomeJson"],
|
|
96
102
|
}
|
|
97
103
|
~~~
|
|
98
|
-
|
|
99
|
-
This enables all Biome rules (JavaScript, TypeScript, css, and json).
|
|
100
|
-
|
|
101
|
-
If you only want to enable rules for a specific language, you can use the following configurations:
|
|
102
|
-
|
|
103
|
-
- JavaScript/TypeScript: biomeJsTs.json
|
|
104
|
-
- CSS: biomeCss.json
|
|
105
|
-
- JSON: biomeJson.json
|