Use eslint-config-react-app

This commit is contained in:
Michael Jackson
2019-10-20 21:55:56 -07:00
parent 6f880c6ea7
commit fe833797e8
7 changed files with 574 additions and 386 deletions

View File

@ -1,17 +1,5 @@
{
"env": {
"browser": true
},
"plugins": ["react", "react-hooks"],
"rules": {
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn"
},
"settings": {
"react": {
"version": "16"
}
}
}