Skip to content

Commit 204398b

Browse files
committed
Add eslint-plugin-react-hooks
1 parent a21c059 commit 204398b

File tree

3 files changed

+10
-116
lines changed

3 files changed

+10
-116
lines changed

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ module.exports = {
22
extends: [
33
'airbnb',
44
'airbnb-typescript',
5-
'plugin:@typescript-eslint/recommended'
5+
'plugin:@typescript-eslint/recommended',
6+
'plugin:react-hooks/recommended'
67
],
78
plugins: ['simple-import-sort'],
89
rules: {

package-lock.json

Lines changed: 7 additions & 115 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"@typescript-eslint/parser": "^6.3.0",
2828
"eslint-config-airbnb": "^19.0.4",
2929
"eslint-config-airbnb-typescript": "^17.1.0",
30+
"eslint-plugin-react-hooks": "^4.6.0",
3031
"eslint-plugin-simple-import-sort": "^10.0.0"
3132
},
3233
"peerDependencies": {

0 commit comments

Comments
 (0)