Skip to content

Commit 538fde3

Browse files
authored
Add exhaustive deps- rule (#43)
1 parent 8f8f1c3 commit 538fde3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/.eslintrc.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ module.exports = {
6969
"react/require-default-props": "off",
7070
"react/jsx-filename-extension": ["error", { extensions: [".tsx"] }],
7171
"react/prop-types": "off",
72-
"react-hooks/exhaustive-deps": "off",
72+
"react-hooks/exhaustive-deps": "error",
7373
"react/jsx-props-no-spreading": "off",
7474
"react/no-array-index-key": "warn",
7575
"react/button-has-type": "warn",
@@ -83,7 +83,7 @@ module.exports = {
8383
"import/prefer-default-export": "off",
8484
// 테스트 코드에 있는 dependencies를 dev로 옮기라고 경고 뜨는 이슈를 해결하기 위함
8585
// https://github.com/banksalad/styleguide/pull/35#discussion_r603753937
86-
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["/**/*.ts?(x)"]}],
86+
"import/no-extraneous-dependencies": ["error", { "devDependencies": ["/**/*.ts?(x)"] }],
8787
"import/extensions": [
8888
"error",
8989
"ignorePackages",

0 commit comments

Comments
 (0)