Skip to content

Commit 463bb9a

Browse files
committed
lots of changes # 2
1 parent 7964b10 commit 463bb9a

34 files changed

+5579
-166
lines changed

client/.eslintrc.cjs

+2
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,7 @@ module.exports = {
1414
"warn",
1515
{ allowConstantExport: true },
1616
],
17+
"react-hooks/rules-of-hooks": "error",
18+
"react-hooks/exhaustive-deps": "warn",
1719
},
1820
};

client/.eslintrc.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@
1616
"sourceType": "module"
1717
},
1818
"plugins": ["@typescript-eslint", "react"],
19-
"rules": {}
19+
"rules": {
20+
"react-hooks/rules-of-hooks": "error",
21+
"react-hooks/exhaustive-deps": "warn"
22+
}
2023
}

0 commit comments

Comments
 (0)