eslint-plugin-indent-empty-lines

1.0.2 • Public • Published

eslint-plugin-indent-empty-lines

Enforce indention on empty lines

Installation

First, you'll need to install ESLint:

$ npm install --save-dev eslint

Next, install eslint-plugin-indent-empty-lines:

$ npm install --save-dev eslint-plugin-indent-empty-lines

Usage

Add indent-empty-lines to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "indent-empty-lines"
    ]
}

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

{
    "rules": {
        "indent-empty-lines/indent-empty-lines": "warn"
    }
}

Supported Rules

Package Sidebar

Install

npm i eslint-plugin-indent-empty-lines

Weekly Downloads

203

Version

1.0.2

License

MIT

Unpacked Size

5.61 kB

Total Files

5

Last publish

Collaborators

  • funmaker