Skip to content

An ESLint plugin to extract and lint scripts from HTML files.

Notifications You must be signed in to change notification settings

nagy-tamas/eslint-plugin-html

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"
    ]
}

About

An ESLint plugin to extract and lint scripts from HTML files.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%