# @urchick/eslint-plugin-parens-indent

> eslint plugin to enforce proper indents for lines with `)`, `}`, `]` parens

Latest version **1.0.1** (published 2021-06-10) · ISC license · 0 weekly downloads

## Install

```sh
npm install @urchick/eslint-plugin-parens-indent
pnpm add @urchick/eslint-plugin-parens-indent
yarn add @urchick/eslint-plugin-parens-indent
bun add @urchick/eslint-plugin-parens-indent
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2021-06-10 |
| First published | 2021-06-10 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | urchick |
| Maintainers | urchick |
| Keywords | eslint parens indent |

## Links

- npm: https://www.npmjs.com/package/@urchick/eslint-plugin-parens-indent
- npm.io page: https://npm.io/package/@urchick/eslint-plugin-parens-indent

## 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

- 1.0.1 (latest) — 2021-06-10
- 1.0.0 — 2021-06-10

## README

# eslint-plugin-parens-indent

This plugin contains `parens-proper-indent` rule which forces proper indent for lines containing closing parens `)}]`.

Enforced rule is: indent of line containing closing paren must match indent of line with corresponding opening paren.

Example of incorrect code:

```js
const names = [
  'alex',
  'peter'];
```

Example of correct code:

```js
const names = [
  'alex',
  'peter'
];
```

## Installation

```sh
npm i @urchick/eslint-plugin-parens-indent --save-dev
```

in `.eslintrc.yaml` add lines:

```yaml
plugins:
  - '@urchick/parens-indent'
  
rules:
  '@urchick/parens-indent/parens-proper-indent': 2
```

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