# @paperfeed/eslint-config

> Opinionated ESLint Config

Latest version **2.0.0** (published 2024-11-30) · ISC license · 0 weekly downloads

## Install

```sh
npm install @paperfeed/eslint-config
pnpm add @paperfeed/eslint-config
yarn add @paperfeed/eslint-config
bun add @paperfeed/eslint-config
```

## Health

**Score 25/100 (F)** — status: maintenance-mode.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2024-11-30 |
| First published | 2021-11-09 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 10 |
| Unpacked size | 111.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Aldert Vaandering |
| Maintainers | paperfeed |

## Links

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

## Dependencies (10)

- [@eslint/js](https://npm.io/package/@eslint/js.md) ^9.15.0
- [typescript-eslint](https://npm.io/package/typescript-eslint.md) ^8.15.0
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.37.2
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^9.1.0
- [@next/eslint-plugin-next](https://npm.io/package/@next/eslint-plugin-next.md) ^15.0.4-canary.22
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) ^8.15.0
- [eslint-plugin-react-hooks](https://npm.io/package/eslint-plugin-react-hooks.md) ^5.0.0
- [eslint-plugin-perfectionist](https://npm.io/package/eslint-plugin-perfectionist.md) ^4.0.3
- [eslint-plugin-unused-imports](https://npm.io/package/eslint-plugin-unused-imports.md) ^4.1.4
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^8.15.0

## Recent versions

- 2.0.0 (latest) — 2024-11-30
- 1.0.4 — 2023-10-14
- 1.0.3 — 2022-08-19
- 1.0.2 — 2022-04-12
- 1.0.1 — 2022-04-12
- 1.0.0 — 2021-11-09

## README

An opinionated linting configuration.

By default, it will warn for everything that is not sorted alphabetically.
Most importantly these are mostly fixable linting rules.

It is *highly* recommended to set up your editor to automatically lint fix on save.

Computers are good at sorting things, so let them do it. It takes cognitive load off of you.

## Usage

Simply import the configuration in your `eslint.config.mjs` file:

```javascript
import paperfeed from '@paperfeed/eslint-config'

export default [
    ...paperfeed.configs.base,
    ...paperfeed.configs.react,
    ...paperfeed.configs.next
]
```

## Available configurations

- `base`: Base configuration for typescript projects.
This includes the `perfectionist` plugin which sorts most everything, converted to warn instead of error (so it doesn't break your build and you don't get constant red wiggles everywhere).
- `react`: React configuration.
- `next`: Next.js configuration.

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