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

ESLint Flat Config #115

Closed
GaborTorma opened this issue Oct 13, 2023 · 6 comments · Fixed by nuxt/eslint#332 · May be fixed by #124
Closed

ESLint Flat Config #115

GaborTorma opened this issue Oct 13, 2023 · 6 comments · Fixed by nuxt/eslint#332 · May be fixed by #124

Comments

@GaborTorma
Copy link

Please support ESLint Flat Config.

I received the following error message when I try to use ES6 eslint.config.js:
Cannot start nuxt: No ESLint configuration found in

@GaborTorma
Copy link
Author

@SymphonySimper
Copy link

+1

1 similar comment
@yveeven
Copy link

yveeven commented Nov 18, 2023

+1

@Eazash
Copy link

Eazash commented Dec 4, 2023

There are open issues and an open PR on the downstream cause of this (gxmari007/vite-plugin-eslint#78 and gxmari007/vite-plugin-eslint#82). That repo does not seem to be well maintained lately, with the last release being over a year ago, with a slew of open issues and PRs. (gxmari007/vite-plugin-eslint#83, gxmari007/vite-plugin-eslint#75).

@GaborTorma You should consider either patching the package or using a fork

@sandro-git
Copy link

how do you handle this issue ? what's the best way to do it work ?

@ModyQyW
Copy link

ModyQyW commented Feb 20, 2024

Guys, please track #124.

If you are in a rush and can't wait to merge, use patch-pacakge for npm and yarn v1, use pnpm patch for pnpm, use yarn patch for yarn v2 and above.

And please reconsider. You may not need to run eslint in build process. See https://github.com/ModyQyW/vite-plugin-eslint2#faq for more info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants