From 738b9e40c61d2e8ad3da30cee185ccedda62de08 Mon Sep 17 00:00:00 2001 From: jero Date: Tue, 21 May 2019 01:12:13 +0300 Subject: [PATCH] chore(eslint): enable "flowtype/use-flow-type" suppress no-unused-vars errors that are triggered by type aliases. --- .eslintrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.eslintrc b/.eslintrc index eb5357ae..035660f8 100644 --- a/.eslintrc +++ b/.eslintrc @@ -38,6 +38,9 @@ "jsx-a11y" ], "rules": { + "flowtype/use-flow-type": { + "no-unused-vars": 1 + }, "react-hooks/rules-of-hooks": "error", "react-hooks/exhaustive-deps": "warn", "indent": ["error", 2, { "SwitchCase": 1 }],