eslint-plugin-ignoreuglify
v0.2.0
Published
exclude uglified files from ESLint's linting
Downloads
345
Maintainers
Readme
This plugin excludes uglified files from ESLint's linting.
At corrent stage, the exclusion rule is quite primitive: if any line in a file is longger than 500 chars, the file will be excluded.
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-ignoreuglify
:
$ npm install eslint-plugin-ignoreuglify --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-ignoreuglify
globally.
Usage
Add ignoreuglify
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"ignoreuglify"
]
}
License
MIT