I’m fairly certain that VSCode’s Quick Fix has given me the option on a different computer to add // @ts-ignore
above a warning to make it go away. My current machine only gives me the below option for unused declarations:
screenshot of quick fix menu
Is there a way to force Quick Fix to show // @ts-ignore
as a solution?
I have the ESLint VS Code plugin, ESLint installed globally, as well as @typescript-eslint/parser
and @typescript-eslint/eslint-plugin
.
I’ve looked around online, but found little to no formal documentation on how Quick Fix works.
fart is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.