aboutsummaryrefslogtreecommitdiff
path: root/vnext/.eslintrc
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-11-13 18:44:54 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:58 +0300
commit2fb4a2c1a32a71c41e84b2bc5c0fa3c4b3f199f9 (patch)
treef58c7d0254ec7b0251b691b300067b7a36b78f3c /vnext/.eslintrc
parent2934a854c7a77c8f65316ffa4d411866648c984f (diff)
ESLint: configure additional plugins
Diffstat (limited to 'vnext/.eslintrc')
-rw-r--r--vnext/.eslintrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/vnext/.eslintrc b/vnext/.eslintrc
index 134639ab..006e0b07 100644
--- a/vnext/.eslintrc
+++ b/vnext/.eslintrc
@@ -1,9 +1,12 @@
{
"extends": [
"eslint:recommended",
+ "plugin:import/recommended",
"plugin:jsdoc/recommended",
+ "plugin:promise/recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
+ "plugin:react-hooks/recommended",
"plugin:jest/recommended",
"plugin:jest-dom/recommended",
"plugin:@typescript-eslint/eslint-recommended",
@@ -64,6 +67,7 @@
"jsdoc/require-returns-type": "off",
"jsdoc/require-property-description": "off",
"jsdoc/require-param-description": "off",
+ "promise/always-return": "off",
"semi": ["error", "always"],
"semi-style": ["error", "last"],
"@typescript-eslint/no-floating-promises": "error"