eslint-plugin-ignoreuglify

0.2.0 • Public • Published

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

Package Sidebar

Install

npm i eslint-plugin-ignoreuglify

Weekly Downloads

67

Version

0.2.0

License

MIT

Last publish

Collaborators

  • ruanyf