How to disable "this may be converted to an async function" messages, etc?

See original GitHub issue

I have some messages coming from (I think) atom-typescript, which don’t seem to be configured in either my eslintrc or in tsconfig.

How can we configure these messages (f.e. disable the this may be converted to an async function specifically)?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
lierdakilcommented, Nov 4, 2018

In particular, “this may be converted to an async function” is suggestion diagnostic 80006, so you would add 80006 to the (comma-separated) list of ignoredDiagnosticCodes

0reactions
trusktrcommented, Nov 4, 2018

Oh sorry, well now that I know they were called “diagnostics” I surely could have figured that one out. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

be able to disable the 'This may be converted to an async ...
Can we have an option to specifically disable this "hint"? Not everyone find the async function style superior. I'm never going to use...
Read more >
VSCode - Disable 'This may be converted to an async function ...
Is there any way to disable this specific tooltip message (and the 3 dots that comes with it on the function name) (Image...
Read more >
Stop trying to make async/await happen - Dan Levy's
Stop trying to make async/await happen. Promises are so fetch right now ... async (5). composition (4). await (1). async-await (1).
Read more >
async - Documentation - GitHub Pages
Async is a utility module which provides straight-forward, powerful functions for working with asynchronous JavaScript. Although originally designed for use ...
Read more >
Async/await - The Modern JavaScript Tutorial
Let's start with the async keyword. It can be placed before a function, like this: async function f() { return 1; }. The...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found