From 05a06a819a7feec84711dfe3d7c698d7366e5bd3 Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 16 Oct 2015 07:57:39 +0200 Subject: [PATCH] Added jsx-uses-react flag in eslint to prevent false positives about react included but not used in components. --- .eslintrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index af6f8ae..8edd43e 100644 --- a/.eslintrc +++ b/.eslintrc @@ -23,6 +23,7 @@ "no-unused-vars": 1, "no-trailing-spaces": [1, { "skipBlankLines": true }], "no-unreachable": 1, - "no-alert": 0 + "no-alert": 0, + "react/jsx-uses-react": 1 } }