Skip to content

linthtml/vscode-linthtml

Repository files navigation

VS Code LintHTML extension

Build Status

A Visual Studio Code extension to lint HTML with LintHTML.

screenshot If you find some error message not explicit enough, please create an issue here

Installation

  1. Execute Extensions: Install Extensions command from Command Palette.
  2. Type @sort:installs linthtml into the search form and install the topmost one.

Read the extension installation guide for more details.

Usage

This extension automatically validates documents with these language identifiers:

  • HTML (html)

If you have a valid hmllint configuration file .linthtmlrc (all options available here) in the current workspace folder the extension will use it. Otherwise, the default configuration of linthtml will be used.

Extension settings

linthtml.enable

Type: boolean
Default: true

Control whether this extension is enabled or not.

linthtml.configFile

Type: string Default: null

Specified the path to a config file for LintHTML that will be used to lint all HTML files in the current workspace.

License

APACHE 2.0 License