Open julius-retzer opened 2 years ago
Looks like an issue in a dependency, can you delete node_modules and reinstall
@davidjbradshaw that didn't help. It looks that the error is in this snippet here in eslint-config-auto/lib/utilsjs
:
I think I solved the problem. The problem was that our next app was in a subdirectory. VS Code eslint was running in the top directory, so it couldn't find the package.json
.
The solution is to add this to .vscode/settings.json
(client
is the subfolder where eslint should run).
{
"eslint.workingDirectories": [
"./client"
]
}
Glad you worked it out. It would be great if you could add that tip to the docs-- Sent from my iPhone.
Hello, I tried this plugin. It works in the terminal, but it crashes in VS Code.
The error:
This is my config:
And these are the used packages: