Skip to content

Commit

Permalink
Merge pull request #488 from fishbrain/disable-rule-for-react-in-scope
Browse files Browse the repository at this point in the history
Disable react-in-jsx-scope rule
  • Loading branch information
lhansford authored Jan 5, 2024
2 parents ec679ab + 8c2ecbe commit 5c00743
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ module.exports = {
'react/jsx-max-props-per-line': ['warn', { when: 'multiline' }],
'react/no-render-return-value': 'off',
'react/prop-types': 'off', // No need for prop types with Typescript
'react/react-in-jsx-scope': 'off',
},
env: {
browser: true,
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-fishbrain",
"version": "5.0.5",
"version": "5.0.6",
"description": "ESLint config for Fishbrain TypeScript projects",
"main": "index.js",
"scripts": {
Expand All @@ -27,7 +27,7 @@
"dependencies": {
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"eslint-config-fishbrain-base": "^5.0.2",
"eslint-config-fishbrain-base": "^5.0.5",
"eslint-plugin-compat": "^4.2.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.33.2",
Expand Down

0 comments on commit 5c00743

Please sign in to comment.