# eslint-plugin-jsx-plus

> eslint plugin for jsx plus

Latest version **0.1.0** (published 2020-02-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install eslint-plugin-jsx-plus
pnpm add eslint-plugin-jsx-plus
yarn add eslint-plugin-jsx-plus
bun add eslint-plugin-jsx-plus
```

## 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.0 |
| Published | 2020-02-27 |
| First published | 2019-08-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 2 |
| Unpacked size | 47.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | tony7lee |
| Maintainers | later_7, zeroling |
| Keywords | eslint, eslintplugin, eslint-plugin, jsx-plus |

## Links

- npm: https://www.npmjs.com/package/eslint-plugin-jsx-plus
- npm.io page: https://npm.io/package/eslint-plugin-jsx-plus

## Dependencies (2)

- [requireindex](https://npm.io/package/requireindex.md) ^1.1.0
- [jsx-ast-utils](https://npm.io/package/jsx-ast-utils.md) ^2.2.1

## 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.0 (latest) — 2020-02-27
- 0.0.9 — 2020-02-27
- 0.0.8 — 2020-02-27
- 0.0.7 — 2019-09-11
- 0.0.6 — 2019-09-03
- 0.0.5 — 2019-09-03
- 0.0.4 — 2019-08-30
- 0.0.3 — 2019-08-20
- 0.0.2 — 2019-08-19
- 0.0.1 — 2019-08-19

## README

# eslint-plugin-jsx-plus

eslint plugin for jsx plus

## Installation

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

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

Next, install `eslint-plugin-jsx-plus`:

```
$ npm install eslint-plugin-jsx-plus --save-dev
```

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

## Usage

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

```json
{
    "extends": [
        "react-app",
        "plugin:jsx-plus/recommended"
    ],
    "plugins": [
        "jsx-plus"
    ]
}
```


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

```json
{
    "rules": {
        "jsx-plus/valid-x-for": 2
    }
}
```

## Supported Rules
- jsx-plus/no-duplicate-directives
- jsx-plus/valid-x-class
- jsx-plus/valid-x-memo
- jsx-plus/valid-x-for
- jsx-plus/valid-x-slot
- jsx-plus/no-duplicate-declaration-for-x-slot
- jsx-plus/forbid-use-x-elseif-alone
- jsx-plus/forbid-use-x-else-alone
- jsx-plus/forbid-assignment-to-x-else

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