eslint-plugin-line-separator

0.0.0 • Public • Published

eslint-plugin-line-separator

Separate some code to improve readability

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-line-separator:

$ npm install eslint-plugin-line-separator --save-dev

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

Usage

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

{
    "plugins": [
        "line-separator"
    ]
}

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

{
    "rules": {
        "line-separator/rule-name": 2
    }
}

Supported Rules

  • Fill in provided rules here

/eslint-plugin-line-separator/

    Package Sidebar

    Install

    npm i eslint-plugin-line-separator

    Weekly Downloads

    2

    Version

    0.0.0

    License

    ISC

    Last publish

    Collaborators

    • alex.tumanov