From d21c046189623464f3fd5a4a988e93eac0dd8834 Mon Sep 17 00:00:00 2001 From: Gabriel Hofman Date: Sat, 4 Dec 2021 18:48:58 +0100 Subject: [PATCH] fix: disable react in scope with new jsx transform (#3) --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index c26d9f5..b5d785a 100644 --- a/index.js +++ b/index.js @@ -68,7 +68,7 @@ module.exports = { 'react/no-unused-class-component-methods': 'error', 'react/no-unused-state': 'error', 'react/no-will-update-set-state': 'error', - 'react/react-in-jsx-scope': 'error', + 'react/react-in-jsx-scope': 'off', 'react/require-render-return': 'error', 'react/self-closing-comp': 'error', 'react/state-in-constructor': ['error', 'never'],