# eslint-plugin-jr

> eslint-plugin-jr

Latest version **1.0.0** (published 2022-05-06) · MIT license · 0 weekly downloads

## Install

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

## 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.0 |
| Published | 2022-05-06 |
| First published | 2022-05-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 5 |
| Unpacked size | 15.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | lx |
| Maintainers | wildlife |
| Keywords | eslint, plugin, eslint-plugin |

## Links

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

## Dependencies (5)

- [babel-eslint](https://npm.io/package/babel-eslint.md) ^10.0.2
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.14.2
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) ^2.8.0
- [eslint-plugin-react-hooks](https://npm.io/package/eslint-plugin-react-hooks.md) ^3.0.0
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^2.8.0

## Recent versions

- 1.0.0 (latest) — 2022-05-06

## README

# eslint-plugin-jr

eslint-plugin-jr

## Installation

You'll first need to install [ESLint](http://eslint.org):

```
$ npm i eslint --save-dev
```

Next, install `eslint-plugin-jr`:

```
$ npm install eslint-plugin-jr --save-dev
```

**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-jr` globally.

## Usage

Add `jr` to the `plugins` section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:

```json
{
  "plugins": [
    "jr"
  ]
}
```

Then configure the rules you want to use under the `extends` section, there are six rule groups in total:

```json
{
  "extends": [
    "plugin:jr/es-dev"
  ]
}
```

```json
{
  "extends": [
    "plugin:jr/es-prod"
  ]
}
```

```json
{
  "extends": [
    "plugin:jr/ts-dev"
  ]
}
```

```json
{
  "extends": [
    "plugin:jr/ts-prod"
  ]
}
```

```json
{
  "extends": [
    "plugin:jr/react-dev"
  ]
}
```

```json
{
  "extends": [
    "plugin:jr/react-prod"
  ]
}
```

You can also use list of rules together, configs below means your project use `Typescript` + `React` in `prod` env:

```json
{
  "plugins": [
    "jr"
  ],
  "extends": [
    "plugin:jr/ts-prod",
    "plugin:jr/react-prod"
  ]
}
```

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