Skip to content

Commit

Permalink
chore: Disabled react/react-in-jsx-scope (#1436)
Browse files Browse the repository at this point in the history
While migrating Enterprise to use our Community eslint rules, there
seemed to be only 1 additional rule used by Enterprise:
```json
"react/react-in-jsx-scope": "off"
```
I added it to the Community config.
resolves #1429
  • Loading branch information
bmingles authored Aug 2, 2023
1 parent ce0c3a6 commit 630ed0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/eslint-config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ module.exports = {
'react/jsx-uses-react': 'error',
'react/jsx-uses-vars': 'error',
'react/jsx-filename-extension': [1, { extensions: ['.jsx', '.tsx'] }],
'react/react-in-jsx-scope': 'off',
'react/sort-comp': [
2,
{
Expand Down

0 comments on commit 630ed0c

Please sign in to comment.