# eslint-config-cra

> ESLint config based in recommended best practices in latest cra

Latest version **4.0.0** (published 2022-06-29) · 0 weekly downloads

## Install

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

## 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.0.0 |
| Published | 2022-06-29 |
| First published | 2021-12-19 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 9.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | mudza100@gmail.com |
| Maintainers | mudza100 |
| Keywords | cra5, eslint, config, plugin, lint, airbnb, ecmascript, eslint, eslintconfig, javascript, styleguide, prettier, react, jsx |

## Links

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

## Dependencies (5)

- [prettier-config-cra](https://npm.io/package/prettier-config-cra.md) ^6.0.0
- [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-plugin-prettier](https://npm.io/package/eslint-plugin-prettier.md) ^4.0.0
- [eslint-config-react-app](https://npm.io/package/eslint-config-react-app.md) ^7.0.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

- 4.0.0 (latest) — 2022-06-29
- 3.0.0 — 2021-12-19
- 2.0.0 — 2021-12-19

## README

# ESLint (and Prettier) config of Create react app

These are settings for ESLint and Prettier only used witht CRA.

## What it does

This setup lints your JavaScript code based on practices. Check the [.eslintrc.js](https://github.com/m-nathani/eslint-config-cra/blob/main/.eslintrc.js) file to see what is included. Feel free to override the rules that make sense for you.

## Installing

1. In your project folder, run:

```
npm i -D eslint-config-cra
```

2. You will see several dependencies were installed. Now, create (or update) a `.eslintrc` file with the following content:

```js
{
  'extends': [
    'eslint-config-cra'
  ]
}
```

3. Make sure the [.prettierrc](https://github.com/m-nathani/eslint-config-cra/blob/main/.prettierrc) to be same as the [prettier-config-cra](https://github.com/m-nathani/prettier-config-cra.git) repository

---

This repository is inspired by [eslint-config-wesbos](https://github.com/wesbos/eslint-config-wesbos).


## License
eslint-config-cra is open source software licensed as MIT.

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