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 990acce commit 3b402a1Copy full SHA for 3b402a1
eslint.config.mjs
@@ -48,12 +48,7 @@ const config = tseslint.config(
48
reactPlugin.configs.flat.recommended, // This is not a plugin object, but a shareable config object
49
reactPlugin.configs.flat['jsx-runtime'], // Add this if you are using React 17+
50
// eslint-plugin-react-hooks
51
- {
52
- plugins: {
53
- 'react-hooks': reactHooksPlugin,
54
- },
55
- rules: reactHooksPlugin.configs.recommended.rules,
56
+ ...reactHooksPlugin.configs.recommended,
57
{
58
languageOptions: {
59
globals: {
0 commit comments