0.1.1 • Published 7 years ago

uship-eslint-plugin-omniscient v0.1.1

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

eslint-plugin-uship-omniscient

An eslint rule to lint for, and fix, usages of omniscient.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-uship-omniscient:

$ npm install eslint-plugin-uship-omniscient --save-dev

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

Usage

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

{
    "plugins": [
        "uship-omniscient"
    ]
}

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

{
    "rules": {
        "uship-omniscient/rule-name": 2
    }
}

Supported Rules

  • Fill in provided rules here
0.1.1

7 years ago

0.1.0

7 years ago