# eslint-plugin-indent-empty-lines

> Enforce indention on empty lines

Latest version **2.0.3** (published 2026-11-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install eslint-plugin-indent-empty-lines
pnpm add eslint-plugin-indent-empty-lines
yarn add eslint-plugin-indent-empty-lines
bun add eslint-plugin-indent-empty-lines
```

## Health

**Score 60/100 (C)** — status: active.

Positive: esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 2.0.3 |
| Published | 2026-11-19 |
| First published | 2020-08-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=20.0.0 |
| Dependencies | 0 |
| Unpacked size | 18.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Fun Maker |
| Maintainers | funmaker |
| Keywords | eslint, eslintplugin, eslint-plugin |

## Links

- npm: https://www.npmjs.com/package/eslint-plugin-indent-empty-lines
- Repository: https://github.com/funmaker/eslint-plugin-indent-empty-lines
- Homepage: https://github.com/funmaker/eslint-plugin-indent-empty-lines#readme
- Issues: https://github.com/funmaker/eslint-plugin-indent-empty-lines/issues
- npm.io page: https://npm.io/package/eslint-plugin-indent-empty-lines

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 2.0.3 (latest) — 2026-11-19
- 2.0.2 — 2026-01-22
- 2.0.2-next.1 — 2026-01-22
- 2.0.2-next.0 — 2026-01-22
- 2.0.1 — 2026-01-22
- 2.0.0 — 2026-01-22
- 1.0.2 — 2021-10-25
- 1.0.1 — 2020-08-11
- 1.0.0 — 2020-08-11
- 0.0.1 — 2020-08-11
- 0.0.0 — 2020-08-11

## README

# eslint-plugin-indent-empty-lines

Enforce indention on empty lines

## Installation

First, you'll need to install [ESLint](http://eslint.org):

```
$ npm install --save-dev eslint
```

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

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


## Usage

### Config - Flat (`eslint.config.js`)

Extend `indentEmptyLinesPlugin.configs.recommended` to load the plugin with for default config.

```js
import indentEmptyLinesPlugin from 'eslint-plugin-indent-empty-lines';
import js from '@eslint/js';

export default [
  js.configs.recommended,
  indentEmptyLinesPlugin.configs.recommended,
  {
    rules: {
      "indent-empty-lines/indent-empty-lines": ["warn", 2] // Use to configure the rule
      // ...
    },
  },
];
```


### Config - Legacy (`.eslintrc`)

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

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

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

```json
{
    "rules": {
        "indent-empty-lines/indent-empty-lines": ["warn", 2]
    }
}
```

## Supported Rules

* [indent-empty-lines](docs/rules/indent-empty-lines.md)

---
_Source: https://npm.io/package/eslint-plugin-indent-empty-lines · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
