Skip to content
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

fix(react-vite): update eslint and use new config file #1862

Merged
merged 1 commit into from
Feb 26, 2025

Conversation

jcesarmobile
Copy link
Member

The eslint.config.js is generated from npm create vite@latest app-name -- --template react-ts but adding two rules that .eslintrc.js had.
Removed the .eslintrc.js since is not supported by eslint 9 and added eslint.config.js instead.
Installed some dependencies needed by the eslint.config.js

closes #1849
closes #1853
closes #1854

@jcesarmobile jcesarmobile requested a review from a team as a code owner February 14, 2025 22:37
@jcesarmobile jcesarmobile requested review from BenOsodrac, ShaneK and brandyscarney and removed request for a team February 14, 2025 22:37
Copy link
Member

@brandyscarney brandyscarney left a comment

Choose a reason for hiding this comment

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

Tested this in a new React starter and verified linting works. 👍

@brandyscarney brandyscarney changed the title fix(react-vite): Update eslint and use new config file fix(react-vite): update eslint and use new config file Feb 25, 2025
@brandyscarney brandyscarney merged commit 341ded1 into main Feb 26, 2025
30 checks passed
@brandyscarney brandyscarney deleted the react-eslint branch February 26, 2025 14:07
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.

eslint misconfigured (react-typescript) eslint not properly configured on react vite app
2 participants