# @copastur/eslint-config

> Configuration Eslint used by Copastur

Latest version **2.0.1** (published 2023-07-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install @copastur/eslint-config
pnpm add @copastur/eslint-config
yarn add @copastur/eslint-config
bun add @copastur/eslint-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 | 2.0.1 |
| Published | 2023-07-19 |
| First published | 2023-06-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 13 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Copastur |
| Maintainers | fernandotavares |

## Links

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

## Dependencies (13)

- [eslint](https://npm.io/package/eslint.md) ^8.0.0
- [prettier](https://npm.io/package/prettier.md) ^3.0.0
- [eslint-plugin-n](https://npm.io/package/eslint-plugin-n.md) ^15.2.0
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.30.0
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.26.0
- [eslint-plugin-promise](https://npm.io/package/eslint-plugin-promise.md) ^6.0.0
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^8.5.0
- [eslint-config-standard](https://npm.io/package/eslint-config-standard.md) ^17.0.0
- [eslint-plugin-jsx-a11y](https://npm.io/package/eslint-plugin-jsx-a11y.md) ^6.5.1
- [eslint-plugin-prettier](https://npm.io/package/eslint-plugin-prettier.md) 5.0.0-alpha.2
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) ^5.25.0
- [eslint-plugin-react-hooks](https://npm.io/package/eslint-plugin-react-hooks.md) ^4.5.0
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^5.25.0

## Recent versions

- 2.0.1 (latest) — 2023-07-19
- 2.0.0 — 2023-07-19
- 1.0.0 — 2023-06-17

## README

# ESLint

## Whats included?

- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;

## Setup

## React (with Next.js)

If you are using Nextjs, follow the commands to install the Eslint package

1. Install the dependencies
```
npm i -D eslint @copastur/eslint-config
```

2. Create a `.eslintrc.json` file extending the config:
```
{
  "extends": [
    "@copastur/eslint-config/next", 
    "next/core-web-vitals"
  ]
}
```

## React Vite (without Next.js)

If you are using Vite follow the commands to install the Eslint package

1. Install the dependencies
```
npm i -D eslint @copastur/eslint-config
```

2. Create a `.eslintrc.json` file extending the config:
```
{
  "extends": [
    "@copastur/eslint-config/react"
  ]
}
```

> You can also use a `.eslintrc.js` instead of JSON if you prefer.

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