Skip to content

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

Merged
sapphi-red merged 1 commit into
vitejs:mainfrom
Rel1cx:main
May 7, 2025
Merged

feat(create-vite): update "react" and "react-ts" templates to use extends in eslint config#19732
sapphi-red merged 1 commit into
vitejs:mainfrom
Rel1cx:main

Conversation

@Rel1cx
Copy link
Copy Markdown

@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
Copy Markdown
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
4 checks passed
@sapphi-red sapphi-red mentioned this pull request May 7, 2025
4 tasks
moonlitusun pushed a commit to moonlitusun/vite that referenced this pull request May 25, 2025
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