@useful-eslint-plugin/eslint-plugin-myplugin

0.0.0 • Public • Published

eslint-plugin-myplugin

A plugin to enforce alphabetical sorting of class members.

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-myplugin:

npm install eslint-plugin-myplugin --save-dev

Usage

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

{
    "plugins": [
        "myplugin"
    ]
}

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

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

Rules

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

Package Sidebar

Install

npm i @useful-eslint-plugin/eslint-plugin-myplugin

Weekly Downloads

1

Version

0.0.0

License

ISC

Unpacked Size

11.9 kB

Total Files

6

Last publish

Collaborators

  • nguyencongvn1