0.1.5 • Published 4 years ago

eslint-plugin-no-except v0.1.5

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

eslint-plugin-no-except

Rules that allow exceptions on some default eslint no rules. These are not supposed to completely replace the eslint rules, just allow the exceptions where they are needed.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-no-except:

$ npm install eslint-plugin-no-except --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-no-except globally.

Usage

Add no-except to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": ["no-except"]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "no-except/rule-name": 2
    }
}

Supported Rules

0.1.4

4 years ago

0.1.5

4 years ago

0.1.2

4 years ago

0.1.3

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago