From 0043f7f46ac4a66cc16fa4415688460dcd482706 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Sun, 2 Oct 2016 18:57:34 +0100 Subject: [PATCH] Promote "React must be in scope" to be an error --- packages/eslint-config-react-app/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-config-react-app/index.js b/packages/eslint-config-react-app/index.js index c0cfc0ae437..b796c10961e 100644 --- a/packages/eslint-config-react-app/index.js +++ b/packages/eslint-config-react-app/index.js @@ -193,7 +193,7 @@ module.exports = { 'react/no-deprecated': 'warn', 'react/no-direct-mutation-state': 'warn', 'react/no-is-mounted': 'warn', - 'react/react-in-jsx-scope': 'warn', + 'react/react-in-jsx-scope': 'error', 'react/require-render-return': 'warn', 'react/style-prop-object': 'warn',