0.1.0 • Published 6 years ago

eslint-plugin-ie8-not-allowed v0.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

eslint-plugin-ie8-not-allowed

check es5 method that not allowed in ie8

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-ie8-not-allowed:

$ npm install eslint-plugin-ie8-not-allowed --save-dev

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

Usage

Add ie8-not-allowed to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "ie8-not-allowed"
    ]
}

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

{
    "rules": {
        "ie8-not-allowed/rule-name": 2
    }
}

Supported Rules

  • Fill in provided rules here