diff --git a/.eslintrc.js b/.eslintrc.js index 2cac5499..1d173568 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -22,7 +22,8 @@ module.exports = { forbid: ['>', '}'], }, ], - '@typescript-eslint/no-var-requires': 'off' + '@typescript-eslint/no-var-requires': 'off', + 'react/react-in-jsx-scope': 'off' }, 'globals': { 'require': true, diff --git a/tsconfig.json b/tsconfig.json index 542aa776..7fa07a13 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "extends": "@docusaurus/tsconfig", "compilerOptions": { - "jsx": "react", + "jsx": "react-jsx", "baseUrl": ".", "target": "es2015", "resolveJsonModule": true