# eslint-prettier-configs

> Package exposing eslint and prettier configurations for nodejs and react projects

Latest version **0.0.6** (published 2023-11-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install eslint-prettier-configs
pnpm add eslint-prettier-configs
yarn add eslint-prettier-configs
bun add eslint-prettier-configs
```

## 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.0.6 |
| Published | 2023-11-09 |
| First published | 2023-11-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 19.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Amitt K Sharma |
| Maintainers | amittksharma |
| Keywords | Eslint, Prettier |

## Links

- npm: https://www.npmjs.com/package/eslint-prettier-configs
- npm.io page: https://npm.io/package/eslint-prettier-configs

## 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

- 0.0.6 (latest) — 2023-11-09
- 0.0.5 — 2023-11-08
- 0.0.4 — 2023-11-07
- 0.0.3 — 2023-11-07
- 0.0.2 — 2023-11-07
- 0.0.1 — 2023-11-07

## README

#### eslint-prettier-configs

[![NPM version](https://badge.fury.io/js/eslint-prettier-configs.svg)](https://www.npmjs.com/package/eslint-prettier-configs)
[![Downloads](http://img.shields.io/npm/dm/eslint-prettier-configs.svg)](https://npmjs.org/package/eslint-prettier-configs)
[![](https://img.shields.io/npm/l/eslint-prettier-configs.svg)](https://img.shields.io/npm/l/eslint-prettier-configs.svg)

##### Introduction

Eslint prettier configs package exposes basic [eslint](https://eslint.org/) and [prettier](https://prettier.io/) configurations for Nodejs and React projects.

Main features:

- Easy Integration
- Exposes Eslint Configuration for Nodejs and React projects
- Exposes prettier configuration
- No need to worry about the eslint plugins installation. Package will install all the necessary plugins

##### Install

The package can easily be integrated in any project nodejs or react.

```
 npm install -D eslint-prettier-configs
```

##### Usage

1. Install the package

2. Eslint configuration can easily be included in the package. Based on the project eslint configuration can be extended with a project-specific configuration

3. For NodeJS project, extend the .eslintrc with:

```
{
  "extends": ["./node_modules/eslint-prettier-configs/eslint-config-node.json"]
}
```

4. For React project, extend the .eslintrc with:

```
{
  "extends": ["./node_modules/eslint-prettier-configs/eslint-config-react.json"]
}
```
5. Extending prettier configuration is kind of special case, instead of ".prettierrc" create a ".prettierrc.js" file and extend the configuration:

```
module.exports = {
  ...require('./node_modules/eslint-prettier-configs/prettierrc.json')
}
```

##### Supported Eslint Plugins

Following eslint plugins are supported in eslint-prettier-configs package

- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- eslint
- eslint-config-airbnb
- eslint-config-airbnb-typescript
- eslint-config-prettier
- eslint-config-standard-with-typescript
- eslint-import-resolver-node
- eslint-import-resolver-typescript
- eslint-plugin-import
- eslint-plugin-n
- eslint-plugin-prettier
- eslint-plugin-promise
- eslint-plugin-react
- eslint-plugin-react-hooks

##### References

- [Eslint Documentation](https://eslint.org/docs/latest/)
- [Prettier Documentation](https://prettier.io/docs/en/)

##### License

[MIT](./LICENSE)

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