# eslint-plugin-no-setter-return

> this plugin provides a new rule which disallow return statement in setter function

Latest version **0.1.2** (published 2019-12-19) · ISC license · 0 weekly downloads

## Install

```sh
npm install eslint-plugin-no-setter-return
pnpm add eslint-plugin-no-setter-return
yarn add eslint-plugin-no-setter-return
bun add eslint-plugin-no-setter-return
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2019-12-19 |
| First published | 2019-12-19 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 3 |
| Unpacked size | 146.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | cao kang |
| Maintainers | caokang |
| Keywords | eslint, eslintplugin, eslint-plugin |

## Links

- npm: https://www.npmjs.com/package/eslint-plugin-no-setter-return
- npm.io page: https://npm.io/package/eslint-plugin-no-setter-return

## Dependencies (3)

- [eslint-utils](https://npm.io/package/eslint-utils.md) ^1.4.3
- [requireindex](https://npm.io/package/requireindex.md) ~1.1.0
- [eslint-ast-utils](https://npm.io/package/eslint-ast-utils.md) ^1.1.0

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

- 0.1.2 (latest) — 2019-12-19
- 0.1.1 — 2019-12-19
- 0.1.0 — 2019-12-19

## README

# eslint-plugin-no-setter-return

this plugin provides a new rule which disallow return statement in setter function

## Installation

You'll first need to install [ESLint](http://eslint.org):

```
$ npm i eslint --save-dev
```

Next, install `eslint-plugin-no-setter-return`:

```
$ npm install eslint-plugin-no-setter-return --save-dev
```

**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-no-setter-return` globally.

## Usage

Add `no-setter-return` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:

```json
{
    "plugins": [
        "no-setter-return"
    ]
}
```


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

```json
{
    "rules": {
        "no-setter-return/rule-name": 2
    }
}
```

## Supported Rules

* Fill in provided rules here

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