Skip to content

Commit 69f0147

Browse files
gabrieljablonskidanielbarion
authored andcommitted
chore: add hook rules to eslint and refactor relevant code
1 parent 516bc67 commit 69f0147

File tree

3 files changed

+332
-297
lines changed

3 files changed

+332
-297
lines changed

.eslintrc.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@
9090
"@typescript-eslint/ban-ts-comment": "off",
9191
"dot-notation": "off",
9292
"no-shadow": "off",
93-
"@typescript-eslint/no-shadow": "error"
93+
"@typescript-eslint/no-shadow": "error",
94+
"react-hooks/rules-of-hooks": "error",
95+
"react-hooks/exhaustive-deps": "warn"
9496
}
9597
}

0 commit comments

Comments
 (0)