diff --git a/packages/core/.eslintrc.js b/packages/core/.eslintrc.js index de90d218e7..a35aa28ca0 100644 --- a/packages/core/.eslintrc.js +++ b/packages/core/.eslintrc.js @@ -17,7 +17,7 @@ const commonRules = { "no-underscore-dangle": "off", "import/prefer-default-export": "off", "no-plusplus": "off", - "react/react-in-jsx-scope": 0, + "react/react-in-jsx-scope": "error", "react/no-danger": "error", "react/jsx-one-expression-per-line": "off", "react/prop-types": 0, diff --git a/packages/core/tsconfig.base.json b/packages/core/tsconfig.base.json index 85825bccc8..b64ce9843d 100644 --- a/packages/core/tsconfig.base.json +++ b/packages/core/tsconfig.base.json @@ -4,7 +4,7 @@ "target": "es6", "moduleResolution": "node", "esModuleInterop": true, - "jsx": "react-jsx", + "jsx": "react", "skipLibCheck": true, "noImplicitAny": true, "baseUrl": "."