eslint-plugin-uship-omniscient
v0.14.0
Published
An eslint rule to lint for, and fix, usages of omniscient.
Downloads
30
Maintainers
Readme
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