We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 443b7ff commit cb2a5a2Copy full SHA for cb2a5a2
packages/eslint-plugin-react-hooks/README.md
@@ -20,6 +20,19 @@ yarn add eslint-plugin-react-hooks --dev
20
21
### Flat Config (eslint.config.js|ts)
22
23
+#### >= 6.0.0
24
+
25
+For users of 6.0 and beyond, simply add the `recommended` config.
26
27
+```js
28
+import * as reactHooks from 'eslint-plugin-react-hooks';
29
30
+export default [
31
+ // ...
32
+ reactHooks.configs.recommended,
33
+];
34
+```
35
36
#### 5.2.0
37
38
For users of 5.2.0 (the first version with flat config support), add the `recommended-latest` config.
0 commit comments