eslint-plugin-improve-code

0.0.7 • Public • Published

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

/eslint-plugin-improve-code/

    Package Sidebar

    Install

    npm i eslint-plugin-improve-code

    Weekly Downloads

    3

    Version

    0.0.7

    License

    ISC

    Unpacked Size

    77.5 kB

    Total Files

    15

    Last publish

    Collaborators

    • vim55k