@wkovacs64/eslint-config 7.10.0 → 7.11.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/index.js +17 -0
- package/package.json +11 -11
package/index.js
CHANGED
|
@@ -134,8 +134,25 @@ export const config = [
|
|
|
134
134
|
'react-hooks': (await import('eslint-plugin-react-hooks')).default,
|
|
135
135
|
},
|
|
136
136
|
rules: {
|
|
137
|
+
// Core hooks rules
|
|
137
138
|
'react-hooks/rules-of-hooks': ERROR,
|
|
138
139
|
'react-hooks/exhaustive-deps': ERROR,
|
|
140
|
+
// React Compiler rules
|
|
141
|
+
'react-hooks/config': ERROR,
|
|
142
|
+
'react-hooks/error-boundaries': ERROR,
|
|
143
|
+
'react-hooks/component-hook-factories': ERROR,
|
|
144
|
+
'react-hooks/gating': ERROR,
|
|
145
|
+
'react-hooks/globals': ERROR,
|
|
146
|
+
'react-hooks/immutability': ERROR,
|
|
147
|
+
'react-hooks/preserve-manual-memoization': ERROR,
|
|
148
|
+
'react-hooks/purity': ERROR,
|
|
149
|
+
'react-hooks/refs': ERROR,
|
|
150
|
+
'react-hooks/set-state-in-effect': ERROR,
|
|
151
|
+
'react-hooks/set-state-in-render': ERROR,
|
|
152
|
+
'react-hooks/static-components': ERROR,
|
|
153
|
+
'react-hooks/unsupported-syntax': ERROR,
|
|
154
|
+
'react-hooks/use-memo': ERROR,
|
|
155
|
+
'react-hooks/incompatible-library': ERROR,
|
|
139
156
|
},
|
|
140
157
|
}
|
|
141
158
|
: null,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wkovacs64/eslint-config",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.11.0",
|
|
4
4
|
"description": "@wKovacs64 ESLint config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -49,27 +49,27 @@
|
|
|
49
49
|
"node": "^18.18.0 || >=20.0.0"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@eslint/js": "^9.
|
|
53
|
-
"@vitest/eslint-plugin": "^1.3.
|
|
52
|
+
"@eslint/js": "^9.38.0",
|
|
53
|
+
"@vitest/eslint-plugin": "^1.3.23",
|
|
54
54
|
"eslint-plugin-astro": "^1.3.1",
|
|
55
55
|
"eslint-plugin-import-x": "^4.16.1",
|
|
56
56
|
"eslint-plugin-jest-dom": "^5.5.0",
|
|
57
57
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
58
58
|
"eslint-plugin-playwright": "^2.2.2",
|
|
59
59
|
"eslint-plugin-react": "^7.37.5",
|
|
60
|
-
"eslint-plugin-react-hooks": "^
|
|
61
|
-
"eslint-plugin-testing-library": "^7.
|
|
60
|
+
"eslint-plugin-react-hooks": "^7.0.0",
|
|
61
|
+
"eslint-plugin-testing-library": "^7.13.3",
|
|
62
62
|
"globals": "^16.4.0",
|
|
63
|
-
"typescript-eslint": "^8.
|
|
63
|
+
"typescript-eslint": "^8.46.1"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@changesets/changelog-github": "0.5.1",
|
|
67
67
|
"@changesets/cli": "2.29.7",
|
|
68
|
-
"@types/node": "24.
|
|
69
|
-
"@types/react": "19.2.
|
|
70
|
-
"@types/react-dom": "19.2.
|
|
71
|
-
"@wkovacs64/prettier-config": "4.2.
|
|
72
|
-
"eslint": "9.
|
|
68
|
+
"@types/node": "24.8.1",
|
|
69
|
+
"@types/react": "19.2.2",
|
|
70
|
+
"@types/react-dom": "19.2.2",
|
|
71
|
+
"@wkovacs64/prettier-config": "4.2.2",
|
|
72
|
+
"eslint": "9.38.0",
|
|
73
73
|
"prettier": "3.6.2",
|
|
74
74
|
"typescript": "5.9.3"
|
|
75
75
|
}
|