Skip to content

Possible option to disable diagnostics service ? #185

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
vikigenius opened this issue Feb 7, 2021 · 3 comments
Closed

Possible option to disable diagnostics service ? #185

vikigenius opened this issue Feb 7, 2021 · 3 comments

Comments

@vikigenius
Copy link

vikigenius commented Feb 7, 2021

Hi, I am trying to use the following plugin: https://github.com/Quramy/typescript-eslint-language-service
with the typescript language server to get linting support.

But this causes errors to be reported twice. Does this server use eslint for diagnostics, does it support all the rules ?

I really like the completion provided by typescript-language-server but I would like to keep the linting provided by the plugin since eslint is the standard.

Is there a way to disable all diagnostics provided ?

See this issue for reference: emacs-lsp/lsp-mode#1520

@nawordar
Copy link

Related: #166

@rchl
Copy link
Member

rchl commented Aug 18, 2021

Disabling all diagnostics wouldn't be a great solution for your problem IMO as only small amount of TS diagnostics have overlap with the eslint rules. You'd miss out on some important ones that eslint doesn't handle if you would do that.

Ignoring only certain diagnostics would probably make more sense in this case. But you'd need to maintain the list of ignores yourself.

@rchl
Copy link
Member

rchl commented Dec 2, 2021

Duplicate of #209.

@rchl rchl closed this as completed Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants