# bnp-eslint-and-prettier-config

> Eslint and prettier configs for React projects

Latest version **1.0.0** (published 2023-09-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install bnp-eslint-and-prettier-config
pnpm add bnp-eslint-and-prettier-config
yarn add bnp-eslint-and-prettier-config
bun add bnp-eslint-and-prettier-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 | 1.0.0 |
| Published | 2023-09-17 |
| First published | 2023-09-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 2.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Alexandre Hideki Siroma |
| Maintainers | hidekih |
| Keywords | eslint, prettier, linter, bnp |

## Links

- npm: https://www.npmjs.com/package/bnp-eslint-and-prettier-config
- Repository: https://github.com/BNPTI/bnp-eslint-and-prettier-config
- Homepage: https://github.com/BNPTI/bnp-eslint-and-prettier-config#readme
- Issues: https://github.com/BNPTI/bnp-eslint-and-prettier-config/issues
- npm.io page: https://npm.io/package/bnp-eslint-and-prettier-config

## Dependencies (6)

- [eslint](https://npm.io/package/eslint.md) 8.24.0
- [prettier](https://npm.io/package/prettier.md) ^2.8.0
- [eslint-config-next](https://npm.io/package/eslint-config-next.md) 12.3.1
- [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.2.1
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^5.47.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

- 1.0.0 (latest) — 2023-09-17
- 0.0.3 — 2023-09-17
- 0.0.2 — 2023-09-17

## README

# BNP ESLint config for React

Configs for React only

## Setup

1 - Install as a dev dependencie

```terminal
  npm i -D bnp-eslint-and-prettier-config
```

2 - Create a `.eslintrc.json` file extending the config:

```json
{
	"extends": "bnp-eslint-and-prettier-config/reactEslint.js"
	// In NextJs project: "extends": ["next/core-web-vitals", "bnp-eslint-and-prettier-config/reactEslint.js" ]
}
```

3 - Create a `.prettierrc.js` file extending the config:

```js
module.exports = {
	...require("bnp-eslint-and-prettier-config/reactPrettier"),
	// Your another configs
};
```

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