Skip to content

feat(create-vite): update "react" and "react-ts" templates to use extends in eslint config #19732

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 7, 2025

Conversation

Rel1cx
Copy link
Contributor

@Rel1cx Rel1cx commented Mar 27, 2025

Description

Previous discussion: #19524, #19594

ESLint has now officially reintroduced extends. This PR updates the example configurations in template-react and template-react-ts to use extends to simplify ESLint configuration.

closes #19594

@sapphi-red sapphi-red added p2-nice-to-have Not breaking anything but nice to have (priority) feat: create-vite create-vite package labels May 7, 2025
Copy link
Member

@sapphi-red sapphi-red left a comment

Choose a reason for hiding this comment

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

Thanks!

@sapphi-red sapphi-red changed the title docs(create-vite): update "react" and "react-ts" templates to use extends in "eslint-config.js", closes #19594 feat(create-vite): update "react" and "react-ts" templates to use extends in "eslint-config.js" May 7, 2025
@sapphi-red sapphi-red changed the title feat(create-vite): update "react" and "react-ts" templates to use extends in "eslint-config.js" feat(create-vite): update "react" and "react-ts" templates to use extends in eslint config May 7, 2025
@sapphi-red sapphi-red merged commit 8679a43 into vitejs:main May 7, 2025
19 checks passed
@sapphi-red sapphi-red mentioned this pull request May 7, 2025
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat: create-vite create-vite package p2-nice-to-have Not breaking anything but nice to have (priority)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Simplify ESLint configuration
2 participants