Skip to content

What do you think about Visual Studio Marketplace? We are looking for feedback from developers like you! Take the survey

| Marketplace
Sign in
Visual Studio Code>Snippets>eslint-disable-snippetsNew to Visual Studio Code? Get it now.

eslint-disable-snippets

Adam Knox

|
83,354 installs
| (4) | Free
Simple snippets for disable eslint rules
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

eslint-disable-snippets

Includes snippets for ignoring; a block, the current line, or the next line.

  1. Start typing eslint-disable in a javascript .js, javascriptreact .jsx, typescript .ts or typescriptreact .tsx file to trigger the snippet autocomplete.
  2. Type the rule you want to disable or leave empty to disable all rules.
  3. Press tab to drop your cursor at a helpful position.
  4. Press ctrl+↓(win) option+↓(mac) to move the current line down. This is useful if you are wrapping a block of code.

Block disable in use

Contributing

PRs are welcome, issues are not. This is open source software in the extent that you can read the source and install, not in the sense that I owe you anything.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft