1.0.1 • Published 7 years ago

eslint-plugin-moonstick v1.0.1

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

eslint-plugin-moonstick

custom linting rules for moonstick

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-moonstick:

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

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

Usage

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

{
    "plugins": [
        "moonstick"
    ]
}

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

{
    // 0 for ignore
    // 1 for warning
    // 2 for error
    "rules": {
        "moonstick/rule-name": 2
    }
}

Supported Rules

  • no-clone-deep - Warns not to use _.cloneDeep
1.0.1

7 years ago

1.0.0

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.0

7 years ago