You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Eglot with typescript-language-server in plain JS (React JS) project. I am getting some useful reports from the tls however it is also reporting typescript type errors which is unnecessary polluting my Flymake buffer as well as source file with stuff being underlined in red everywhere.
Is there a way to tell Eglot to not report certain error codes, or rather, to report only certain error codes which I would give it?
NOTE: Eglot works perfect in my other projects that use Typescript.
For example of the following errors reported:
22 43 error e-f-b typescript [2554]: Expected 0 arguments, but got 1.
23 47 error e-f-b typescript [2554]: Expected 0 arguments, but got 1.
39 25 error e-f-b typescript [2552]: Cannot find name 'Skeleton'. Did you mean 'Selection'?
40 29 error e-f-b typescript [2304]: Cannot find name 'Typography'.
41 26 error e-f-b typescript [2552]: Cannot find name 'Skeleton'. Did you mean 'Selection'?
43 25 error e-f-b typescript [2304]: Cannot find name 'Box'.
53 29 error e-f-b typescript [2304]: Cannot find name 'CircularProgress'.
54 26 error e-f-b typescript [2304]: Cannot find name 'Box'.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all,
I am using Eglot with
typescript-language-server
in plain JS (React JS) project. I am getting some useful reports from the tls however it is also reporting typescript type errors which is unnecessary polluting my Flymake buffer as well as source file with stuff being underlined in red everywhere.Is there a way to tell Eglot to not report certain error codes, or rather, to report only certain error codes which I would give it?
NOTE: Eglot works perfect in my other projects that use Typescript.
For example of the following errors reported:
I'd like to keep [2304] only.
Beta Was this translation helpful? Give feedback.
All reactions