-
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Hello, I tried this plugin. It works in the terminal, but it crashes in VS Code.
The error:
Uncaught exception received.
TypeError: Cannot read config file: projectPath/node_modules/eslint-config-auto/index.js
Error: Cannot destructure property 'packageJson' of 'readPkgUp.sync(...)' as it is undefined.
Referenced from: projectPath/.eslintrc.json
at Object.<anonymous> (projectPath/node_modules/eslint-config-adjunct/lib/utils.js:12:22)
at Module._compile (node:internal/modules/cjs/loader:1163:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1216:10)
at Module.load (node:internal/modules/cjs/loader:1035:32)
at Module._load (node:internal/modules/cjs/loader:876:12)
at Function.c._load (node:electron/js2c/asar_bundle:5:13343)
at Module.require (node:internal/modules/cjs/loader:1059:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (projectPath/node_modules/eslint-config-adjunct/configs.js:1:23)
at Module._compile (node:internal/modules/cjs/loader:1163:14)
This is my config:
{
"extends": [
"auto"
]
}
And these are the used packages:
Metadata
Metadata
Assignees
Labels
No labels
