We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd2bdfe commit 7727fc4Copy full SHA for 7727fc4
eslint.config.js
@@ -4,7 +4,6 @@ import importPlugin from 'eslint-plugin-import';
4
import jsxA11y from 'eslint-plugin-jsx-a11y';
5
import react from 'eslint-plugin-react';
6
import reactHooks from 'eslint-plugin-react-hooks';
7
-import reactCompiler from 'eslint-plugin-react-compiler';
8
9
export default tseslint.config(
10
{ ignores: ['dist/', 'website/'] },
@@ -14,8 +13,7 @@ export default tseslint.config(
14
13
jsxA11y.flatConfigs.recommended,
15
react.configs.flat.recommended,
16
react.configs.flat['jsx-runtime'],
17
- reactHooks.configs['recommended-latest'],
18
- reactCompiler.configs.recommended,
+ reactHooks.configs.recommended,
19
{
20
settings: {
21
'import/resolver': { typescript: true },
@@ -26,6 +24,7 @@ export default tseslint.config(
26
24
'error',
27
25
{ argsIgnorePattern: '^_', varsIgnorePattern: '^_' },
28
],
+ 'react-hooks/react-compiler': 'error',
29
},
30
31
);
package.json
@@ -67,8 +67,7 @@
67
"eslint-plugin-import": "^2.31.0",
68
"eslint-plugin-jsx-a11y": "^6.10.2",
69
"eslint-plugin-react": "^7.37.4",
70
- "eslint-plugin-react-compiler": "19.0.0-beta-decd7b8-20250118",
71
- "eslint-plugin-react-hooks": "5.2.0-canary-de1eaa26-20250124",
+ "eslint-plugin-react-hooks": "6.0.0-rc.1",
72
"happy-dom": "^16.7.2",
73
"immer": "^10.1.1",
74
"prettier": "^3.4.2",
0 commit comments