ghmcadams / vscode-lintlens

Augment your ESLint rules in Visual Studio Code - Adds metadata beside each ESLint rule.
MIT License
42 stars 9 forks source link

LintLens - VSCode extension

Visual Studio Marketplace Visual Studio Marketplace Visual Studio Marketplace The MIT License Twitter

Augment your ESLint rules in Visual Studio Code — Adds metadata and usage information beside each ESLint rule.


LintLens Screenshot

Features

Adds details beside each ESLint rule in your configuration file (including plugins) located anywhere in your workspace folders (supports multiple config files, and even multiple versions of ESLint and plugins).

Displays detailed information (including usage schema information and a link to the official docs page) in a hover container for each rule.

Adds intellisense (autocomplete) for rule IDs and for simple rule values (complex rule value intellisense MIGHT be added in the future)

Adds rule value validation

Supports all configuration file formats currently supported by ESLint

If you are new to ESLint check the documentation.

Hover for more information on each rule:


LintLens Preview Hover

Autocomplete rules as you type:


LintLens Preview Main

Requirements

In an effort to support all possible plugins and to keep size small, this extension uses both ESLint and ESLint plugins installed in the opened workspace folder(s). Due to restrictions in vscode, this extension does not support globally installed packages.

Known Issues