|
{
|
|
"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"
|
|
}
|
|
}
|
|
}
|