summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/roadmap/react-hooks.md4
-rw-r--r--src/rules/react-hooks/default.json9
2 files changed, 10 insertions, 3 deletions
diff --git a/docs/roadmap/react-hooks.md b/docs/roadmap/react-hooks.md
index 2e651d4..49d99cc 100644
--- a/docs/roadmap/react-hooks.md
+++ b/docs/roadmap/react-hooks.md
@@ -1,4 +1,4 @@
# React Hooks
-- [ ] "exhaustive-deps"
-- [ ] "rules-of-hooks"
+- [X] "exhaustive-deps"
+- [X] "rules-of-hooks"
diff --git a/src/rules/react-hooks/default.json b/src/rules/react-hooks/default.json
index 0967ef4..4276d63 100644
--- a/src/rules/react-hooks/default.json
+++ b/src/rules/react-hooks/default.json
@@ -1 +1,8 @@
-{}
+{
+ "react-hooks/exhaustive-deps": [
+ "warn"
+ ],
+ "react-hooks/rules-of-hooks": [
+ "error"
+ ]
+} \ No newline at end of file