eslint-plugin-react-hooks
Advanced tools
Comparing version
{ | ||
"name": "eslint-plugin-react-hooks", | ||
"description": "ESLint rules for React Hooks", | ||
"version": "6.0.0-canary-b10cb4c0-20250403", | ||
"version": "6.0.0-canary-bc6184dd-20250417", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
@@ -23,2 +23,15 @@ # `eslint-plugin-react-hooks` | ||
#### >= 6.0.0 | ||
For users of 6.0 and beyond, simply add the `recommended` config. | ||
```js | ||
import * as reactHooks from 'eslint-plugin-react-hooks'; | ||
export default [ | ||
// ... | ||
reactHooks.configs.recommended, | ||
]; | ||
``` | ||
#### 5.2.0 | ||
@@ -25,0 +38,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
3941544
0.05%107710
0.04%139
10.32%