lvjiaxuan / vscode-eslint-disable

Use hotkeys to insert the corresponding ESLint disabling rules comment.

Home Page:https://marketplace.visualstudio.com/items?itemName=lvjiaxuan.vscode-eslint-disable

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vscode-eslint-disable


Use hotkeys to insert the corresponding disabling rules comment.

Usage

  1. Select a single line or multiple lines that have rule problems from the ESLint extension's IntelliSense, and you can either disable rules on selected lines by ctrl + alt + d or disable them for the entire file by ctrl + alt + e.
  2. Disable all rule problems by ctrl + alt + a.

Tip

It doesn't need to select all the text on the selected lines, or even select, just only a cursor focus can works. See the preview below.

Preview

For single line.

single

For multiple lines, you can press ctrl + d to select another pair of rules on the other side.

multiple

About

Use hotkeys to insert the corresponding ESLint disabling rules comment.

https://marketplace.visualstudio.com/items?itemName=lvjiaxuan.vscode-eslint-disable

License:MIT License


Languages

Language:TypeScript 99.5%Language:JavaScript 0.5%