# @pgilad/eslint-plugin-react-redux

> Find issues with react-redux code usages

Latest version **2.0.0** (published 2020-04-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install @pgilad/eslint-plugin-react-redux
pnpm add @pgilad/eslint-plugin-react-redux
yarn add @pgilad/eslint-plugin-react-redux
bun add @pgilad/eslint-plugin-react-redux
```

## 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 | 2.0.0 |
| Published | 2020-04-04 |
| First published | 2018-04-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=10 |
| Dependencies | 1 |
| Unpacked size | 13.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Gilad Peleg |
| Maintainers | pgilad |
| Keywords | eslint, eslintplugin, eslint-plugin, react-redux, mapStateToProps, selectors |

## Links

- npm: https://www.npmjs.com/package/@pgilad/eslint-plugin-react-redux
- Repository: https://github.com/pgilad/eslint-plugin-react-redux
- Homepage: https://github.com/pgilad/eslint-plugin-react-redux#readme
- Issues: https://github.com/pgilad/eslint-plugin-react-redux/issues
- npm.io page: https://npm.io/package/@pgilad/eslint-plugin-react-redux

## Dependencies (1)

- [requireindex](https://npm.io/package/requireindex.md) ^1.2.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

- 2.0.0 (latest) — 2020-04-04
- 1.4.0 — 2019-07-11
- 1.3.0 — 2019-06-05
- 1.2.0 — 2019-02-08
- 1.1.0 — 2018-04-07
- 1.0.4 — 2018-04-07
- 1.0.3 — 2018-04-05

## README

# eslint-plugin-react-redux
> Find issues with react-redux code usages

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)

## Installation

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

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

Next, install `eslint-plugin-react-redux`:

```bash
$ npm install @pgilad/eslint-plugin-react-redux --save-dev
```

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

## Usage

Add `react-redux` to the plugins section of your `.eslintrc` configuration file.

```json
{
    "plugins": [
        "@pgilad/eslint-plugin-react-redux"
    ]
}
```

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

```json
{
    "rules": {
        "@pgilad/react-redux/use-selectors-on-state": 1
    }
}
```

## Supported Rules

- [use-selectors-on-state](docs/rules/use-selectors-on-state.md)

## License

MIT

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