summaryrefslogtreecommitdiff
path: root/src/rules/react-hooks
diff options
context:
space:
mode:
Diffstat (limited to 'src/rules/react-hooks')
-rw-r--r--src/rules/react-hooks/default.json8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/rules/react-hooks/default.json b/src/rules/react-hooks/default.json
new file mode 100644
index 0000000..4276d63
--- /dev/null
+++ b/src/rules/react-hooks/default.json
@@ -0,0 +1,8 @@
+{
+ "react-hooks/exhaustive-deps": [
+ "warn"
+ ],
+ "react-hooks/rules-of-hooks": [
+ "error"
+ ]
+} \ No newline at end of file