Skip to content

Commit aeaccb1

Browse files
authored
Update eslintrc.json
1 parent bc78190 commit aeaccb1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

eslintrc.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
},
1515

1616
"plugins": [
17-
"react"
17+
"react",
18+
"react-hooks"
1819
],
1920

2021
"rules": {
@@ -27,6 +28,8 @@
2728
"react/no-unknown-property": "error",
2829
"react/no-unused-prop-types": "error",
2930
"react/prop-types": "error",
30-
"react/react-in-jsx-scope": "error"
31+
"react/react-in-jsx-scope": "error",
32+
"react-hooks/rules-of-hooks": "error",
33+
"react-hooks/exhaustive-deps": "error"
3134
}
3235
}

0 commit comments

Comments
 (0)