From f6868cf9b6ffb583313a7c62526688064ee64d05 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 18 Jun 2020 11:47:07 +0400 Subject: Added react-hooks rules Signed-off-by: Valentin Popov --- src/rules/react-hooks/default.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3