-
Notifications
You must be signed in to change notification settings - Fork 167
how to disable this may be converted to async function error #166
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
Comments
Is this what you're looking for? |
@DonnieWest this is not a typescript error the tsc doesnt report any errors this is just a diagnostic reported by typescript-language-server and since it is not a real error ts-ignore doesnt really help with that |
Coc handles this via a coc-specific configuration setting, when I can take a look at tackling this (it's been bothering me too :P); this could be done via a command line switch like What do you think @DonnieWest ? |
@pyrho sounds like a plan :) |
How about block specific ignores? similar to |
The suggestion in the review was that this should rather be handled in the client itself since diagnostics are a standard LSP feature and there is no reason to implement it per server. Anyone strongly disagres with that? |
I am happy using promises instead of async functions at certain places but typescript language server constantly reports errors saying those functions can be converted to async functions which should be a code action i believe not an error message
Is there any way to disable certain messages?
Something similar to the
#[allow]
annotation in rust which disables certain warningsThe text was updated successfully, but these errors were encountered: