eslint-plugin-payfit

1.1.0 • Public • Published

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

Package Sidebar

Install

npm i eslint-plugin-payfit

Weekly Downloads

17

Version

1.1.0

License

ISC

Unpacked Size

9.12 kB

Total Files

8

Last publish

Collaborators

  • payfit-tech