Skip to content

Commit 7929dc7

Browse files
committed
add eslint + prettier + hooks eslint
1 parent e315758 commit 7929dc7

File tree

5 files changed

+1007
-5
lines changed

5 files changed

+1007
-5
lines changed

.eslintrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"parser": "babel-eslint",
3+
"extends": ["airbnb", "prettier"],
4+
"plugins": ["prettier", "react-hooks"],
5+
"rules": {
6+
"prettier/prettier": ["error"],
7+
"react-hooks/rules-of-hooks": "error",
8+
"react-hooks/exhaustive-deps": "warn"
9+
}
10+
}

0 commit comments

Comments
 (0)