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
feat(create-vite): add eslint.config.js to React templates #12860
base: main
Are you sure you want to change the base?
Conversation
Run & review this pull request in StackBlitz Codeflow. |
Thanks for this. I tested it and work as expected. I'm really surprised that we require to install to more packages for this, which is not mentioned in the doc that prefer to explain me what is object shorthand 🤦♂️ The documentation on this is so poor that I'm not sure we should push new Vite users that could be people still learning web basics into this. I will see what the react of team think of that. Thanks for the work, in any case this will be useful and merge when this become the official config format |
Hi! We decided to wait for eslint to switch the default config format to the new one before adding it to the template. |
5ad54f1
to
a8481a8
Compare
The default switched to flat config with today's |
be8fb06
to
d6e1a58
Compare
We still need to wait jsx-eslint/eslint-plugin-react#3699 and facebook/react#28313 to be resolved |
Description
Hi @ArnaudBarre As a follow up on #12801 I have helped to create an example using the latest eslint.config.js format of config
Additional context
What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123
).