Skip to content

clubedaentrega/eslint-plugin-cde-ejs-html

Repository files navigation

eslint-plugin-ejs-html

A plugin that allows lint the JS inside EJS tags

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-ejs-html:

$ npm install eslint-plugin-ejs-html --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-ejs-html globally.

Usage

Add ejs-html to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "ejs-html"
    ]
}

About

A plugin that allows lint the JS inside EJS tags

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published