Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 506 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 506 Bytes

eslint-plugin-html

This ESLint plugin extracts and lints scripts from HTML files.

Supported HTML extensions: .html, .xhtml, .htm

Only script tags with no type attribute or with a type containing text/javascript will be linted.

Usage

Simply add the plugin to your ESLint configuration. See ESLint documentation.

Example:

{
    "plugins": [
        "html"
    ]
}