eslint-plugin-sp

0.0.2 • Public • Published

eslint-plugin-sp

eslint rule

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-sp:

npm install eslint-plugin-sp --save-dev

Usage

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

{
    "plugins": [
        "sp"
    ]
}

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

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

Rules

TODO: Run eslint-doc-generator to generate the rules list.

Package Sidebar

Install

npm i eslint-plugin-sp

Weekly Downloads

2

Version

0.0.2

License

ISC

Unpacked Size

12.5 kB

Total Files

17

Last publish

Collaborators

  • thomaslwq
  • yanhongyi