Skip to content

feat(create-vite): use more extends in eslint config #20008

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sapphi-red
Copy link
Member

Description

This PR makes the eslint config in react templates a bit more simple. The changes are:

  • use extends where possible
  • use globalIgnores helper where appropriate: so that's it's more explicit about what it's doing
  • align the configs between js template and ts template

I also thought about replacing tseslint.config with defineConfig, but it seemed it's not ready yet: typescript-eslint/typescript-eslint#10935

@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
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.

1 participant