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

'module' is not defined eslint error in template-react #13517

Closed
7 tasks done
w3cj opened this issue Jun 14, 2023 · 1 comment · Fixed by #13518
Closed
7 tasks done

'module' is not defined eslint error in template-react #13517

w3cj opened this issue Jun 14, 2023 · 1 comment · Fixed by #13518

Comments

@w3cj
Copy link
Contributor

w3cj commented Jun 14, 2023

Describe the bug

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.

'module' is not defined

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

N/A

Used Package Manager

npm

Logs

No response

Validations

@stackblitz
Copy link

stackblitz bot commented Jun 14, 2023

Fix this issue in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant