Skip to content

ruanyf/eslint-plugin-ignoreuglify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

exclude uglified files from ESLint's linting

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published