Skip to content

Commit

Permalink
make linter happy; react no longer needed in scope for jsx/tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
nconrad committed Apr 18, 2024
1 parent 720ed20 commit 7cf8288
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "@docusaurus/tsconfig",
"compilerOptions": {
"jsx": "react",
"jsx": "react-jsx",
"baseUrl": ".",
"target": "es2015",
"resolveJsonModule": true
Expand Down

0 comments on commit 7cf8288

Please sign in to comment.