Skip to content

Commit

Permalink
Update eslintrc.json
Browse files Browse the repository at this point in the history
  • Loading branch information
barroudjo committed Dec 6, 2022
1 parent bc78190 commit aeaccb1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions eslintrc.json
Expand Up @@ -14,7 +14,8 @@
},

"plugins": [
"react"
"react",
"react-hooks"
],

"rules": {
Expand All @@ -27,6 +28,8 @@
"react/no-unknown-property": "error",
"react/no-unused-prop-types": "error",
"react/prop-types": "error",
"react/react-in-jsx-scope": "error"
"react/react-in-jsx-scope": "error",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "error"
}
}

0 comments on commit aeaccb1

Please sign in to comment.