0.0.1 • Published 2 years ago

eslint-plugin-package v0.0.1

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

eslint-plugin-package

lint package

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-package:

$ npm install eslint-plugin-package --save-dev

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

Usage

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

{
    "plugins": [
        "package"
    ]
}

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

{
    "rules": {
        "package/rule-name": 2
    }
}

Supported Rules

  • Fill in provided rules here