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.
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.
Add ignoreuglify
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"ignoreuglify"
]
}
MIT