Replies: 3 comments 1 reply
-
set the property |
Beta Was this translation helpful? Give feedback.
-
@x4132 If I do so I will lose code completion, import auto fixes, unused variable detection and so on which is then the same if I didn't have the lsp on. |
Beta Was this translation helpful? Give feedback.
-
I'm not sure what errors exactly do you want and not want to see so hard to be more specific with the answer. |
Beta Was this translation helpful? Give feedback.
-
I am using Emacs and Eglot to interact with the typescript-language-server by invoking the standard command. The project that I am working on is a React project that uses plain JS, and I want the .js files to be checked in order to be able to detect and fix missing imports, unused variables, autocomplete and similar. However, it is also reporting typescript errors and those also complain about JSX components being invalid which is coloring a bunch of stuff in red in source files which is distracting.
I went through the configuration docs and I could not figure out how to tell the server to not check for types and type errors in the .js files.
Beta Was this translation helpful? Give feedback.
All reactions