-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[✨] Update your template to include eslint.config.js by default #6115
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
Comments
Thanks @hosseinitabar |
@gioboa, I'm sorry I don't know how to do that. |
let me try it |
Will this bug from v1 be merged into v2 when I finish this bug ? |
Yep, it will be merged. Thanks for your help @JerryWu1234 |
because the eslint 9.0 was a breaking change version, and I have used this library |
I think we should use the ts one that helps with the types https://typescript-eslint.io/getting-started/ |
BTW @JerryWu1234 you need to rename your file to .cjs or it won't work in type:module projects. And maybe you should make it ESM with .mjs, but then __dirname needs to be replaced with the equivalent import.meta statement |
we just upgrade the Eslint's grade. and follow this doc don't you?,
I tried both ways, it's still wrong. |
typescript-eslint/typescript-eslint#8211 still going on for ESLint v9 Support |
yup it would be awesome to convert those two files into one |
Is your feature request related to a problem?
Yes. I used
npm create qwik
and it created a project based on1.5.2
version. Yet when I updated it to useeslint 9.0.0
and rannpm run build
I got this error:Describe the solution you'd like
Please remove
.eslintignore
and.eslintconfig.cjs
from your template and replace them with a singleeslint.config.js
.Describe alternatives you've considered
Right now we should manually do this in every project.
Additional context
No response
The text was updated successfully, but these errors were encountered: