0.2.0 • Published 10 years ago

eslint-plugin-ignoreuglify v0.2.0

Weekly downloads
10
License
MIT
Repository
github
Last release
10 years ago

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