Replies: 1 comment 7 replies
-
OK, so perhaps I should have started with the obvious question: "is eslint really configured correct?", as I notice this seems to be specific to one or two projects. So perhaps there really is an issue with the eslint config, but when I run it from the CLI it seems fine. So how on earth can I find out what is the issue with the eslint config? I tried enabling lsp logging, and see stuff like this:
|
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I keep seeing this error when opening new TypeScript files:
and even though the eslint server still seems to be working, it seems quite slow, and I'm wondering if the slowness is related to this error.
However I cannot reproduce via
emacs -q -l lsp-start-plain.el
, so I'm not filing as a bug but instead pleading for help here.I see that the error comes from
lsp-eslint--probe-failed
:lsp-mode/clients/lsp-eslint.el
Lines 344 to 346 in 8f9259a
and is triggered via:
lsp-mode/clients/lsp-eslint.el
Lines 365 to 367 in 8f9259a
which seems to possibly come from this logic in the eslint server:
https://github.com/microsoft/vscode-eslint/blob/034172f464917127fa6b6625800b83be3ef5953d/server/src/eslintServer.ts#L1169-L1172
In my
*lsp-log*
buffer, I see this repeated many times:I'm not sure if it's related, but the one thing both of these chunks of code in
eslintServer
seem to have in common is that they are reading fromsettings
. So I'm wondering if there's an issue with howlsp-mode
is configuring the server's settings, or something like that.Beta Was this translation helpful? Give feedback.
All reactions