0.0.9 • Published 7 years ago

eslint-plugin-sung-hunt-down-your-bad-code v0.0.9

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

eslint-plugin-demo

a demo plugin

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install npm i eslint-plugin-sung-hunt-down-your-bad-code:

$ npm i eslint-plugin-sung-hunt-down-your-bad-code --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install npm i eslint-plugin-sung-hunt-down-your-bad-code globally.

Usage

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

{
    "plugins": [
        "sung-hunt-down-your-bad-code"
    ]
}

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

{
    "rules": {
      "sung-hunt-down-your-bad-code/react-syntax":1,
      "sung-hunt-down-your-bad-code/react-console":1,
      "sung-hunt-down-your-bad-code/react-import":1,
      "sung-hunt-down-your-bad-code/react-props":1,
      "sung-hunt-down-your-bad-code/react-maybe":1,
      "sung-hunt-down-your-bad-code/react-setTimeout":1,
      "sung-hunt-down-your-bad-code/react-async":1,
      "sung-hunt-down-your-bad-code/react-try-catch":1,
      "sung-hunt-down-your-bad-code/react-fetch":1,
      "sung-hunt-down-your-bad-code/react-function":1
    }
}

Supported Rules

  • Fill in provided rules here
0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.5

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago