diff options
author | Valentin Popov <info@valentineus.link> | 2020-06-18 10:47:07 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-06-18 10:47:07 +0300 |
commit | f6868cf9b6ffb583313a7c62526688064ee64d05 (patch) | |
tree | ef468020cb0ad808ffc387e16fe9f25f80bc19f7 /src/rules/react-hooks/default.json | |
parent | 58e080f2e77b405ad12765f62b3945fa0f776ef6 (diff) | |
download | eslint-config-f6868cf9b6ffb583313a7c62526688064ee64d05.tar.xz eslint-config-f6868cf9b6ffb583313a7c62526688064ee64d05.zip |
Added react-hooks rules
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules/react-hooks/default.json')
-rw-r--r-- | src/rules/react-hooks/default.json | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/rules/react-hooks/default.json b/src/rules/react-hooks/default.json index 0967ef4..4276d63 100644 --- a/src/rules/react-hooks/default.json +++ b/src/rules/react-hooks/default.json @@ -1 +1,8 @@ -{} +{ + "react-hooks/exhaustive-deps": [ + "warn" + ], + "react-hooks/rules-of-hooks": [ + "error" + ] +}
\ No newline at end of file |