TrNikita / eslint-plugin-vertical-straight-align

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eslint-plugin-vertical-straight-align

Makes your imports smooth and easy to read

eslint-plugin-vertical-straight-align_2

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-vertical-straight-align:

npm install eslint-plugin-vertical-straight-align --save-dev

Usage

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

{
    "plugins": [
        "vertical-straight-align"
    ]
}

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

{
    "rules": {
        "vertical-straight-align/align-imports": "error"
    }
}

Rules

TODO: Run eslint-doc-generator to generate the rules list.

About


Languages

Language:JavaScript 100.0%