# eslint-config-backpacker-react

> Backpacker's eslint config for React

Latest version **0.9.0** (published 2021-12-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install eslint-config-backpacker-react
pnpm add eslint-config-backpacker-react
yarn add eslint-config-backpacker-react
bun add eslint-config-backpacker-react
```

## 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.9.0 |
| Published | 2021-12-05 |
| First published | 2021-05-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 10 |
| Unpacked size | 5.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Calin Tamas |
| Maintainers | calintamas |
| Keywords | eslint, eslint-config, react, react-native |

## Links

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

## Dependencies (10)

- [eslint](https://npm.io/package/eslint.md) ^7.25.0
- [@babel/core](https://npm.io/package/@babel/core.md) ^7.14.0
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.23.2
- [@babel/eslint-parser](https://npm.io/package/@babel/eslint-parser.md) ^7.13.14
- [eslint-config-airbnb](https://npm.io/package/eslint-config-airbnb.md) ^18.2.1
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.22.1
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^8.3.0
- [eslint-plugin-jsx-a11y](https://npm.io/package/eslint-plugin-jsx-a11y.md) ^6.4.1
- [eslint-plugin-prettier](https://npm.io/package/eslint-plugin-prettier.md) ^4.0.0
- [eslint-plugin-react-hooks](https://npm.io/package/eslint-plugin-react-hooks.md) ^4.2.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

- 0.9.0 (latest) — 2021-12-05
- 0.8.0 — 2021-11-05
- 0.7.0 — 2021-10-04
- 0.6.0 — 2021-09-03
- 0.5.0 — 2021-07-03
- 0.4.0 — 2021-06-03
- 0.3.0 — 2021-05-01
- 0.2.0 — 2021-05-01
- 0.1.0 — 2021-05-01

## README

# eslint-config-backpacker-react

[![npm version](https://img.shields.io/npm/v/eslint-config-backpacker-react)](https://www.npmjs.com/package/eslint-config-backpacker-react)
[![Build](https://github.com/backpacker/eslint-config-react/actions/workflows/build.yml/badge.svg)](https://github.com/backpacker/eslint-config-react/actions?query=workflow%3Abuild)

Extends [eslint-config-airbnb](https://www.npmjs.com/package/eslint-config-airbnb) and [a few others](./package.json).

To install, run

```sh
yarn add --dev eslint-config-backpacker-react
```

Then extend it inside your `.eslintrc.js` file

```js
module.exports = {
  ...
  extends: [
    "backpacker-react",
  ],
};
```

## Import sort plugin

To automatically sort imports with prettier, use [prettier-plugin-import-sort](https://github.com/ggascoigne/prettier-plugin-import-sort) with [import-sort-style-module](https://www.npmjs.com/package/import-sort-style-module). Then add the following configuration in `package.json`:

```js
"importSort": {
    ".js, .jsx, .ts, .tsx": {
      "style": "module"
    }
}
```

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