# eslint-config-recommended

> Pluggable ESLint configs for ECMAScript Next, Node.js and React Native that you can import, extend and override

Latest version **4.1.0** (published 2020-05-29) · ISC license · 0 weekly downloads

## Install

```sh
npm install eslint-config-recommended
pnpm add eslint-config-recommended
yarn add eslint-config-recommended
bun add eslint-config-recommended
```

## 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 | 4.1.0 |
| Published | 2020-05-29 |
| First published | 2016-07-14 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 5.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 45 |
| Author | kunalgolani@gmail.com |
| Maintainers | kunalgolani, shannonmoeller |
| Keywords | eslint, eslint-config, eslintconfig, esnext, es6, es7, es2015, es2016, node, node.js, react, reactjs, react-native |

## Links

- npm: https://www.npmjs.com/package/eslint-config-recommended
- Repository: https://github.com/kunalgolani/eslint-config
- Homepage: https://github.com/kunalgolani/eslint-config/tree/master/packages/recommended#readme
- Issues: https://github.com/kunalgolani/eslint-config/issues
- npm.io page: https://npm.io/package/eslint-config-recommended

## Dependencies (4)

- [eslint](https://npm.io/package/eslint.md) ^6.8.0
- [eslint-config-node](https://npm.io/package/eslint-config-node.md) ^4.1.0
- [eslint-config-esnext](https://npm.io/package/eslint-config-esnext.md) ^4.1.0
- [eslint-config-react-native](https://npm.io/package/eslint-config-react-native.md) ^4.1.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 4.1.0 (latest) — 2020-05-29
- 4.0.0 — 2018-09-28
- 3.0.2 — 2018-09-28
- 3.0.1 — 2018-09-28
- 3.0.0 — 2018-06-10
- 2.0.0 — 2017-12-09
- 1.5.0 — 2016-08-28
- 1.4.0 — 2016-08-26
- 1.3.1 — 2016-08-08
- 1.3.0 — 2016-08-08
- 1.2.0 — 2016-08-08
- 1.1.1 — 2016-07-19
- 1.1.0 — 2016-07-19
- 1.0.0 — 2016-07-19
- 0.1.2 — 2016-07-18
- … 4 more at https://npm.io/package/eslint-config-recommended/versions

## README

### Pluggable [ESLint](http://eslint.org/docs/about/) [configs](http://eslint.org/docs/developer-guide/shareable-configs) for [ECMAScript Next](https://kangax.github.io/compat-table/esnext), [Node.js](https://nodejs.org) and [React Native](https://facebook.github.io/react-native) that you can import, extend and override

[![Join the chat at https://gitter.im/kunalgolani/eslint-config ][gitter-img]][gitter-url]
[![npm version][version-img]][npm-url]
[![npm downloads][downloads-img]][npm-url]
[![GitHub issues][issues-img]][issues-url]
[![Deps][deps-img]][deps-url]
[![Dev Deps][devdeps-img]][deps-url]

#### Usage

In your js project directory:

```shell
npm install --save-dev eslint-config-recommended
```

Choose the configs you want to include in your `.eslintrc.yaml`:

```yaml
extends:
  - recommended/esnext
  - recommended/esnext/style-guide
  - recommended/node
  - recommended/node/style-guide
  - recommended/react-native
  - recommended/react-native/style-guide
```

Alternatively, in your `.eslintrc.js` or `.eslintrc.json`:

```json
{
  "extends": ["esnext", "esnext/style-guide", "node", "node/style-guide", "react-native", "react-native/style-guide"]
}
```

`node` and `react-native` extend `esnext`

`node/style-guide` and `react-native/style-guide` extend `esnext/style-guide`

If you don't need all these configs, you can also install them individually:

- [ESNext](https://github.com/kunalgolani/eslint-config/tree/master/packages/esnext)
- [Node.js](https://github.com/kunalgolani/eslint-config/tree/master/packages/node)
- [React Native](https://github.com/kunalgolani/eslint-config/tree/master/packages/react-native)

To add a git-hook to your commits, consider using [husky](https://github.com/typicode/husky)

```shell
npm install --save-dev husky
```

And in your `package.json`:

```json
  "scripts": {
    "precommit": "eslint ."
  }
```

---

#### Config

These configs are biased and opinionated, and err on the side of too many rules instead of too few. Think of them as a superset of your repo's lint config, and discard what you don't like in them. It's easy to override and disable the rules you find inconvenient.

- [ESNext](https://github.com/kunalgolani/eslint-config/tree/master/packages/esnext)
- [ESNext Style Guide](https://github.com/kunalgolani/eslint-config/tree/master/packages/esnext/style-guide)
- [Node.js](https://github.com/kunalgolani/eslint-config/tree/master/packages/node)
- [Node.js Style Guide](https://github.com/kunalgolani/eslint-config/tree/master/packages/node/style-guide)
- [React Native](https://github.com/kunalgolani/eslint-config/tree/master/packages/react-native)
- [React Native Style Guide](https://github.com/kunalgolani/eslint-config/tree/master/packages/react-native/style-guide)

[gitter-img]: https://badges.gitter.im/kunalgolani/eslint-config.svg
[gitter-url]: https://gitter.im/kunalgolani/eslint-config?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
[version-img]: https://img.shields.io/npm/v/eslint-config-recommended.svg
[npm-url]: https://www.npmjs.com/package/eslint-config-recommended
[downloads-img]: https://img.shields.io/npm/dt/eslint-config-recommended.svg
[issues-img]: https://img.shields.io/github/issues-raw/kunalgolani/eslint-config.svg?maxAge=2592000
[issues-url]: https://github.com/kunalgolani/eslint-config/issues
[deps-img]: https://img.shields.io/david/kunalgolani/eslint-config.svg
[devdeps-img]: https://img.shields.io/david/dev/kunalgolani/eslint-config.svg
[deps-url]: https://github.com/kunalgolani/eslint-config/blob/master/package.json

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