Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/le0pard/pgtune.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Vasiliev <leopard.not.a@gmail.com>2020-11-16 14:44:58 +0300
committerAlexey Vasiliev <leopard.not.a@gmail.com>2020-11-16 14:44:58 +0300
commitcf13b5be7177389b8578e6a1ef5ef3a9155ed0d2 (patch)
treea79fbf51a68e66514454e326b4dafa5d0183c5bf /.eslintrc
parent2d14d50d165afc80ea9a80d500456ff0e5e13b22 (diff)
use functions
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc7
1 files changed, 5 insertions, 2 deletions
diff --git a/.eslintrc b/.eslintrc
index 63bf8b4..f8d8be2 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -130,7 +130,9 @@
"react/self-closing-comp": 2,
"react/sort-comp": 0,
"react/jsx-wrap-multilines": 2,
- "import/extensions": [2, "never", {"sass": "always"}]
+ "import/extensions": [2, "never", {"sass": "always"}],
+ "react-hooks/rules-of-hooks": 2,
+ "react-hooks/exhaustive-deps": 2
},
"globals": {
"require": true,
@@ -156,6 +158,7 @@
},
"plugins": [
"react",
- "import"
+ "import",
+ "react-hooks"
]
}