Snippets for ignoring @typescript-eslint rules for a block, the current line, or the next line.
Start typing tslint-disable in a file to trigger the snippet autocomplete.
Supported Languages:
javascript/typescript
javascriptreact / typescriptreact
vue
Type the @typescript-eslint rule you want to disable or leave empty to disable all rules.
Press tab to drop your cursor at a helpful position.
Press ctrl+↓(win) option+↓(mac) to move the current line down. This is useful if you are wrapping a block of
code.
Credit
This extension is based on the original eslint-disable-snippets by drKnoxy.
Please consider installing both extensions to get the full set of core ESLint
and @typescript-eslint rule snippets.