Skip to content

Commit 82a49ce

Browse files
committed
add eslint and fix hooks violations
1 parent 3a6cb33 commit 82a49ce

File tree

5 files changed

+1514
-243
lines changed

5 files changed

+1514
-243
lines changed

.eslintrc

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es6": true,
5+
"node": true
6+
},
7+
"extends": ["airbnb", "prettier"],
8+
"plugins": ["prettier", "react-hooks"],
9+
"rules": {
10+
"prettier/prettier": ["error"],
11+
"react-hooks/rules-of-hooks": "error",
12+
"react-hooks/exhaustive-deps": "warn"
13+
}
14+
}

0 commit comments

Comments
 (0)