Skip to content

fix(create-vite): turn off react/jsx-no-target-blank ESLint rule in React JS template#15672

Merged
patak-cat merged 1 commit into
mainfrom
arnaud/edit-react-lint-config
Jan 22, 2024
Merged

fix(create-vite): turn off react/jsx-no-target-blank ESLint rule in React JS template#15672
patak-cat merged 1 commit into
mainfrom
arnaud/edit-react-lint-config

Conversation

@ArnaudBarre
Copy link
Copy Markdown
Member

Adresses: #13750 (comment)

Changing it upstream has already been suggested: jsx-eslint/eslint-plugin-react#3552

@bolt-new-by-stackblitz
Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@ArnaudBarre ArnaudBarre changed the title Turn off react/jsx-no-target-blank ESLint rule in React JS template fix(create-vite): turn off react/jsx-no-target-blank ESLint rule in React JS template Jan 21, 2024
Copy link
Copy Markdown
Member

@bluwy bluwy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me. I didn't know it was error-ing before. I'm curious why the TypeScript variant have a different eslint config setup though.

@ArnaudBarre
Copy link
Copy Markdown
Member Author

The goal was to provide a minimal setup to have ESLint running, and for TS the react plugin is not needed

@patak-cat patak-cat merged commit a6f39e8 into main Jan 22, 2024
@patak-cat patak-cat deleted the arnaud/edit-react-lint-config branch January 22, 2024 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants