Nuxt / ESLint and VS Code
Does anyone have the new ESLint module / flat config working in VS Code? I've been trying with the latest Nuxt and ESlint extension (3.10 and also 3.13) in VS Code, and it doesn't seem to work.
I have an error in the ESLint output window in VS Code
[Error - 4:48:00 PM] Request textDocument/diagnostic failed. Message: Request textDocument/diagnostic failed with message: Invalid Options: - Unknown options: configFile - 'configFile' has been removed. Please use the 'overrideConfigFile' option instead. Code: -32603The ESLint commands work fine from the CLI though. It's only an issue with the VS Code extension, it seems.
5 Replies
I also have this enabled in my settings.json:
{
"eslint.useFlatConfig": true
}
Yeah i've got no issues with it
i don't think i did any configuration at all
Which package manager do you use?
Yarn
Thanks, I will try that instead of npm
I figured it out - I had some user settings that were conflicting with my workspace settings. I believe it was specifically this one causing my issue:
Thanks for your help!