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.
Original extension: https://marketplace.visualstudio.com/items?itemName=drKnoxy.eslint-disable-snippets
Snippets for ignoring @typescript-eslint rules for a block, the current line, or the next line.
Usage
- Start typing
tslint-disablein 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
tabto 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.