Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/clubedaentrega/eslint-plugin-cde-ejs-html
A plugin that allows lint the JS inside EJS tags
https://github.com/clubedaentrega/eslint-plugin-cde-ejs-html
Last synced: 28 days ago
JSON representation
A plugin that allows lint the JS inside EJS tags
- Host: GitHub
- URL: https://github.com/clubedaentrega/eslint-plugin-cde-ejs-html
- Owner: clubedaentrega
- Created: 2018-01-23T17:47:17.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-12T17:07:16.000Z (almost 7 years ago)
- Last Synced: 2024-11-15T10:57:40.593Z (about 2 months ago)
- Language: JavaScript
- Size: 18.6 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eslint-plugin-ejs-html
A plugin that allows lint the JS inside EJS tags
## Installation
You'll first need to install [ESLint](http://eslint.org):
```
$ 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:
```json
{
"plugins": [
"ejs-html"
]
}
```