Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>ESLint DisableNew to Visual Studio Code? Get it now.
ESLint Disable

ESLint Disable

lvjiaxuan

|
760 installs
| (0) | Free
Insert `eslint-disable` directive comment with present problem rules for VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-eslint-disable


Insert `eslint-disable` directive comment with present problem rules for VS Code.

Features

  1. Select single or multiple lines which have rule problems from the extension of ESLint IntelliSense, and it could either disable rules for lines by ctrl + alt + d or disable for the entire file by ctrl + alt + e.
  2. Disable all problem rules by ctrl + alt + a.

Note

It doesn't need to select all text of lines. See preview below.

Preview

For single line.

single

For multiple lines, press ctrl + d to select another pair in other side.

multiple

TODO

  • [ ] Support multi-selections disable at the same action.
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft