You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default .eslintrc.cjs file included in packages/create-vite/template-react and packages/create-vite/template-react-ts has a linter error in a freshly generated app.
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Describe the bug
The default
.eslintrc.cjs
file included inpackages/create-vite/template-react
andpackages/create-vite/template-react-ts
has a linter error in a freshly generated app.'module' is not defined
Reproduction
https://stackblitz.com/edit/vitejs-vite-zyxecy?file=.eslintrc.cjs%3AL1&terminal=dev
Steps to reproduce
Create a vite app with react or react with TypeScript.
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: