aboutsummaryrefslogtreecommitdiff
path: root/vnext/.eslintrc
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-02-25 02:15:38 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:54 +0300
commit47a3c1b8077bfdcd04a78f6893535bd72098c310 (patch)
tree4d5b437e8d43fface13886b1be2976c5dad994f2 /vnext/.eslintrc
parente461c70b7424f744b30f7559b11b814cf7dba9e2 (diff)
Deps, rules of hooks
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"
}
}