# @ridi/eslint-config

> RIDI's ESLint configs for Javascript

Latest version **6.1.0** (published 2023-10-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install @ridi/eslint-config
pnpm add @ridi/eslint-config
yarn add @ridi/eslint-config
bun add @ridi/eslint-config
```

## 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 | 6.1.0 |
| Published | 2023-10-12 |
| First published | 2017-08-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 8 |
| Author | RIDI |
| Maintainers | simulacre7, kzlucas, ys.yoon, lowfront, kyungtae, mando212, khinenw, davin.ahn, ridicorp, m0ai, minq, ridi-junhee, hw.choi |
| Keywords | eslint, eslintconfig, ridi, javascript |

## Links

- npm: https://www.npmjs.com/package/@ridi/eslint-config
- Repository: https://github.com/ridi/eslint-config
- Homepage: https://github.com/ridi/eslint-config#readme
- Issues: https://github.com/ridi/eslint-config/issues
- npm.io page: https://npm.io/package/@ridi/eslint-config

## Dependencies (4)

- [eslint-config-airbnb](https://npm.io/package/eslint-config-airbnb.md) ^19.0.4
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^8.5.0
- [eslint-config-airbnb-base](https://npm.io/package/eslint-config-airbnb-base.md) ^15.0.0
- [eslint-config-airbnb-typescript](https://npm.io/package/eslint-config-airbnb-typescript.md) ^17.0.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
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 6.1.0 (latest) — 2023-10-12
- 6.0.0 — 2022-07-22
- 5.2.0 — 2020-12-30
- 5.1.0 — 2020-09-15
- 5.0.0 — 2020-09-12
- 4.2.2 — 2020-02-13
- 4.2.1 — 2020-02-04
- 4.2.0 — 2020-02-04
- 4.1.1 — 2018-08-16
- 4.1.0 — 2018-06-25
- 4.0.1 — 2018-05-02
- 4.0.0 — 2018-01-22
- 3.1.0 — 2017-10-10
- 3.0.0 — 2017-08-18
- 2.0.1 — 2017-08-18

## README

# @ridi/eslint-config
[![npm version](https://badge.fury.io/js/%40ridi%2Feslint-config.svg)](https://badge.fury.io/js/%40ridi%2Feslint-config)   
A rule set of RIDI's ESLint configurations based on Airbnb's.

## Installation

Install `@ridi/eslint-config` package:

1. Install the correct versions of each package, which are listed by the command:
```
npm info "@ridi/eslint-config" peerDependencies
```
if using **npm 5+**, use this shortcut
```
npx install-peerdeps --dev @ridi/eslint-config
```
if using **yarn**, use this command
```
yarn add --peer --dev @ridi/eslint-config
```
2. Install via package manager:
```
npm install --save-dev @ridi/eslint-config
```
or
```
yarn --dev @ridi/eslint-config
```

## Usage

### Javascript
```javascript
module.exports = {
  extends: [
    '@ridi/eslint-config'
  ]
}
```

### @ridi/eslint-config/typescript
> * @typescript-eslint/eslint-plugin
> * typescript

#### Typescript
```javascript
module.exports = {
  extends: [
    '@ridi/eslint-config',
    '@ridi/eslint-config/typescript'
  ]
}
```

### @ridi/eslint-config/react
> * eslint-plugin-import
> * eslint-plugin-jsx-a11y
> * eslint-plugin-react
> * eslint-plugin-react-hooks

#### Javascript + React
```js
{
  "extends": [
    '@ridi/eslint-config',
    '@ridi/eslint-config/react',
  ],
}
``` 


#### Typescript + React
```javascript
module.exports = {
  extends: [
    '@ridi/eslint-config',
    '@ridi/eslint-config/typescript',
    '@ridi/eslint-config/react'
  ]
}
```
### @ridi/eslint-config/prettier
> * eslint-plugin-prettier

#### Prettier

works fine with local configuration file (e.g. .prettierrc)

```js
{
  "extends": [
    '@ridi/eslint-config',
    '@ridi/eslint-config/prettier',
  ],
}
```

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