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 db62d46 commit 4b5472bCopy full SHA for 4b5472b
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
@@ -64,8 +64,7 @@
64
"eslint-plugin-import": "^2.31.0",
65
"eslint-plugin-jsx-a11y": "^6.10.2",
66
"eslint-plugin-react": "^7.37.4",
67
- "eslint-plugin-react-compiler": "19.0.0-beta-decd7b8-20250118",
68
- "eslint-plugin-react-hooks": "5.2.0-canary-de1eaa26-20250124",
+ "eslint-plugin-react-hooks": "6.0.0-rc.1",
69
"happy-dom": "^16.7.2",
70
"prettier": "^3.4.2",
71
"ts-expect": "^1.3.0",
0 commit comments