-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
current situation
Using the plugin for tsserver, I get the following error:
Info 23 [12:27:58.566] [typescript-eslint-language-service] Error: No ESLint configuration found in /home/harald/work/dailynotes/src/main/ts.
at CascadingConfigArrayFactory._finalizeConfigArray (/home/harald/work/dailynotes/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:4086:19)
at CascadingConfigArrayFactory.getConfigArrayForFile (/home/harald/work/dailynotes/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3877:21)
at ESLintConfigProvider.getConfigArrayForFile (/home/harald/work/dailynotes/node_modules/typescript-eslint-language-service/lib/eslint-config-provider.js:45:29)
... [clipped for brevity]
This despite the fact that eslint runs just fine when used with vscode. Though I try to use the setup with a differing language-server aware client.
More configuration details:
eslint.config.mjs
is in/home/harald/work/dailynotes
, i.e. in a parent directory of where the log complains- I verified that the working directory of the tsserver is this directory.
- Further tsserver logs:
Creating ConfiguredProject: /home/harald/work/dailynotes/tsconfig.json, currentDirectory: /home/harald/work/dailynotes
, another hint that the project root is well understood.
versions
├── @typescript-eslint/eslint-plugin@8.24.0
├── @typescript-eslint/parser@8.24.0
├── eslint@9.20.0
├── typescript-eslint-language-service@5.0.5
└── typescript@5.7.3
expected behavior
My expectation would be that the configuration file would be lookup up, among other places, at least in the project's root directory. Hints welcome, if I am doing this wrong.
Metadata
Metadata
Assignees
Labels
No labels