0.0.7 • Published 2 years ago

eslint-plugin-improve-code v0.0.7

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

eslint-plugin-eslint-improve-code

created in order to add rule: when arrow func one line breaks, convert it to return style

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-eslint-improve-code:

npm install eslint-plugin-eslint-improve-code --save-dev

Usage

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

{
    "plugins": [
        "eslint-improve-code"
    ]
}

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

{
    "rules": {
        "eslint-improve-code/rule-name": 2
    }
}

Supported Rules

  • Fill in provided rules here