aboutsummaryrefslogtreecommitdiff
path: root/vnext/.eslintrc
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/.eslintrc')
-rw-r--r--vnext/.eslintrc7
1 files changed, 5 insertions, 2 deletions
diff --git a/vnext/.eslintrc b/vnext/.eslintrc
index a887dfb2..2555e757 100644
--- a/vnext/.eslintrc
+++ b/vnext/.eslintrc
@@ -2,7 +2,8 @@
"extends": [
"eslint:recommended",
"plugin:react/recommended",
- "plugin:jest/recommended"
+ "plugin:jest/recommended",
+ "react-hooks"
],
"parser": "babel-eslint",
"parserOptions": {
@@ -60,6 +61,8 @@
"jest/no-focused-tests": "error",
"jest/no-identical-title": "error",
"jest/prefer-to-have-length": "warn",
- "jest/valid-expect": "error"
+ "jest/valid-expect": "error",
+
+ "react-hooks/rules-of-hooks": "error"
}
}