eslint-plugin-payfit
v1.1.0
Published
eslint-payfit-plugin
Downloads
14
Maintainers
Readme
eslint-payfit-plugin
eslint-payfit-plugin
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-eslint-payfit-plugin
:
$ npm install eslint-plugin-eslint-payfit-plugin --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-eslint-payfit-plugin
globally.
Usage
Add eslint-payfit-plugin
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"eslint-payfit-plugin"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"eslint-payfit-plugin/rule-name": 2
}
}
Supported Rules
- no-mongo-objectid