# eslint-plugin-closuredepth

> Eslint plugin in order to provide warnings closure depth

Latest version **1.0.2** (published 2019-09-06) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install eslint-plugin-closuredepth
pnpm add eslint-plugin-closuredepth
yarn add eslint-plugin-closuredepth
bun add eslint-plugin-closuredepth
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2019-09-06 |
| First published | 2015-10-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Pete Ward |
| Maintainers | peteward44 |
| Keywords | eslint, eslintplugin |

## Links

- npm: https://www.npmjs.com/package/eslint-plugin-closuredepth
- Repository: https://github.com/peteward44/eslint-plugin-closuredepth
- Issues: https://github.com/peteward44/eslint-plugin-closuredepth/issues
- npm.io page: https://npm.io/package/eslint-plugin-closuredepth

## 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
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2019-09-06
- 1.0.1 — 2015-12-16
- 1.0.0 — 2015-10-22

## README

# eslint-plugin-closuredepth

***This project is no longer maintained***

Eslint plugin in order to provide warnings closure depth, and you can avoid the associated performance penalties

# Installation

Install [ESLint](https://www.github.com/eslint/eslint) either locally or globally.

```sh
$ npm install eslint
```

If you installed `ESLint` globally, you have to install the closuredepth plugin globally too. Otherwise, install it locally.

```sh
$ npm install eslint-plugin-closuredepth
```

# Configuration

Add `plugins` section and specify ESLint-plugin-closuredepth as a plugin.

```json
{
  "plugins": [
    "closuredepth"
  ]
}
```

Add the rule, where 'limit' is your desired maximum depth

```json
{
  "rules": {
    "closuredepth/closuredepth": [ 2, { "limit": 3 } ]
  }
}
```

# License

ESLint-plugin-closuredepth is licensed under the [MIT License](http://www.opensource.org/licenses/mit-license.php).

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