diff options
author | Alexey Vasiliev <leopard.not.a@gmail.com> | 2020-11-16 14:44:58 +0300 |
---|---|---|
committer | Alexey Vasiliev <leopard.not.a@gmail.com> | 2020-11-16 14:44:58 +0300 |
commit | cf13b5be7177389b8578e6a1ef5ef3a9155ed0d2 (patch) | |
tree | a79fbf51a68e66514454e326b4dafa5d0183c5bf /.eslintrc | |
parent | 2d14d50d165afc80ea9a80d500456ff0e5e13b22 (diff) |
use functions
Diffstat (limited to '.eslintrc')
-rw-r--r-- | .eslintrc | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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" ] } |