0.0.0 • Published 7 years ago

eslint-plugin-line-separator v0.0.0

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

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