eslint-config-heck 4.2.2 → 4.3.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/node.cjs +1 -0
- package/nodeWithBiome.cjs +1 -0
- package/package.json +13 -14
- package/reactNative.cjs +1 -2
- package/readme.md +4 -1
package/node.cjs
CHANGED
|
@@ -958,6 +958,7 @@ module.exports = [
|
|
|
958
958
|
"@typescript-eslint/no-meaningless-void-operator": "error",
|
|
959
959
|
"@typescript-eslint/no-misused-new": "error",
|
|
960
960
|
"@typescript-eslint/no-misused-promises": "error",
|
|
961
|
+
"@typescript-eslint/no-misused-spread": "error",
|
|
961
962
|
"@typescript-eslint/no-mixed-enums": "off",
|
|
962
963
|
"@typescript-eslint/no-namespace": "error",
|
|
963
964
|
"@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error",
|
package/nodeWithBiome.cjs
CHANGED
|
@@ -826,6 +826,7 @@ module.exports = [
|
|
|
826
826
|
"@typescript-eslint/no-meaningless-void-operator": "off",
|
|
827
827
|
"@typescript-eslint/no-misused-new": "off",
|
|
828
828
|
"@typescript-eslint/no-misused-promises": "error",
|
|
829
|
+
"@typescript-eslint/no-misused-spread": "error",
|
|
829
830
|
"@typescript-eslint/no-mixed-enums": "off",
|
|
830
831
|
"@typescript-eslint/no-namespace": "off",
|
|
831
832
|
"@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-heck",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.1",
|
|
4
4
|
"description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -26,30 +26,29 @@
|
|
|
26
26
|
"author": "atheck",
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@eslint
|
|
30
|
-
"@
|
|
31
|
-
"@typescript-eslint/
|
|
32
|
-
"
|
|
33
|
-
"eslint": "9.17.0",
|
|
29
|
+
"@stylistic/eslint-plugin": "3.0.1",
|
|
30
|
+
"@typescript-eslint/eslint-plugin": "8.22.0",
|
|
31
|
+
"@typescript-eslint/parser": "8.22.0",
|
|
32
|
+
"eslint": "9.19.0",
|
|
34
33
|
"eslint-plugin-import": "2.31.0",
|
|
35
|
-
"eslint-plugin-jest": "28.
|
|
36
|
-
"eslint-plugin-react": "7.37.
|
|
34
|
+
"eslint-plugin-jest": "28.11.0",
|
|
35
|
+
"eslint-plugin-react": "7.37.4",
|
|
37
36
|
"eslint-plugin-react-hooks": "5.1.0",
|
|
38
|
-
"eslint-plugin-react-native": "
|
|
37
|
+
"eslint-plugin-react-native": "5.0.0",
|
|
39
38
|
"eslint-plugin-testing-library": "7.1.1",
|
|
40
39
|
"eslint-plugin-unicorn": "56.0.1",
|
|
41
|
-
"typescript": "5.7.
|
|
40
|
+
"typescript": "5.7.3"
|
|
42
41
|
},
|
|
43
42
|
"devDependencies": {
|
|
44
43
|
"@biomejs/biome": "1.9.4",
|
|
45
44
|
"@testing-library/dom": "10.4.0",
|
|
46
|
-
"@testing-library/react": "16.
|
|
45
|
+
"@testing-library/react": "16.2.0",
|
|
47
46
|
"@types/jest": "29.5.14",
|
|
48
|
-
"@types/react": "18.3.
|
|
49
|
-
"globals": "15.
|
|
47
|
+
"@types/react": "18.3.18",
|
|
48
|
+
"globals": "15.14.0",
|
|
50
49
|
"jest": "29.7.0",
|
|
51
50
|
"react": "18.3.1",
|
|
52
|
-
"semantic-release": "24.2.
|
|
51
|
+
"semantic-release": "24.2.1"
|
|
53
52
|
},
|
|
54
53
|
"repository": {
|
|
55
54
|
"type": "git",
|
package/reactNative.cjs
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
const { fixupPluginRules } = require("@eslint/compat");
|
|
4
3
|
const reactNative = require("eslint-plugin-react-native");
|
|
5
4
|
|
|
6
5
|
module.exports = [
|
|
7
6
|
{
|
|
8
7
|
plugins: {
|
|
9
|
-
"react-native":
|
|
8
|
+
"react-native": reactNative,
|
|
10
9
|
},
|
|
11
10
|
rules: {
|
|
12
11
|
"react-native/no-color-literals": "error",
|
package/readme.md
CHANGED
|
@@ -5,7 +5,7 @@ eslint-config-heck contains an ESLint configuration for ES2015+, TypeScript, and
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
~~~sh
|
|
8
|
-
npm install --save-dev eslint eslint-config-heck
|
|
8
|
+
npm install --save-dev eslint@9 eslint-config-heck
|
|
9
9
|
~~~
|
|
10
10
|
|
|
11
11
|
## Usage
|
|
@@ -70,6 +70,9 @@ If you are using react-native, you can enable react-native specific rules:
|
|
|
70
70
|
...node,
|
|
71
71
|
...reactNative,
|
|
72
72
|
};
|
|
73
|
+
}
|
|
74
|
+
~~~
|
|
75
|
+
|
|
73
76
|
### Rules with usage of Biome
|
|
74
77
|
|
|
75
78
|
If you are using Biome you can use the "nodeWithBiome" configuration:
|