Description
I am unable to "Goto Type Definition..." or "Goto Definition..." on eslint-plugin-perfectionist
. It works for @eslint/js
, globals
, and typescript-eslint
in eslint.config.mjs
.
Minimal reproduction repo: https://github.com/rgant/tmp-eslint-perfectionist-test
I originally found this issue in a new Angular project and opened this ticket with the plugin developers. They have been very helpful in looking into this issue, but believe it is outside of their code. I created the above brand new repo to try and replicate the bug. But I was not able to get the same error message. However the code discovery actions are not working so it feel like there is something here to diagnose. But I am uncertain how to proceed.
When I reported this issue to LSP-typescript
I was told:
Hello, Looks like the https://github.com/typescript-language-server/typescript-language-server returns a empty response, but only when doing a goto definition on this line:
import perfectionist from "eslint-plugin-perfectionist"; ^ goto def here
I have tested VS Code, and goto definition works there. I also tested a different language server vtsls and goto definition works there also.
The issue should ideally be reported to https://github.com/typescript-language-server/typescript-language-server/issues