# eslint-config-everywhere

> ESLint config for everywhere

Latest version **5.0.0** (published 2026-02-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install eslint-config-everywhere
pnpm add eslint-config-everywhere
yarn add eslint-config-everywhere
bun add eslint-config-everywhere
```

## Health

**Score 60/100 (C)** — status: stable.

Positive: esm support; no vulnerabilities; has provenance; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 5.0.0 |
| Published | 2026-02-18 |
| First published | 2019-02-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 18 |
| Unpacked size | 14.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 1 |
| Author | Yoshitaka Terazawa |
| Maintainers | locol23 |
| Keywords | eslint, eslint-config, prettier, typescript, react, next, vitest, testing-library |

## Links

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

## Dependencies (18)

- [globals](https://npm.io/package/globals.md) 16.5.0
- [@eslint/js](https://npm.io/package/@eslint/js.md) 9.39.2
- [eslint-plugin-n](https://npm.io/package/eslint-plugin-n.md) 17.23.1
- [typescript-eslint](https://npm.io/package/typescript-eslint.md) 8.52.0
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) 7.37.5
- [eslint-plugin-turbo](https://npm.io/package/eslint-plugin-turbo.md) 2.6.3
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) 2.32.0
- [eslint-plugin-vitest](https://npm.io/package/eslint-plugin-vitest.md) 0.5.4
- [eslint-plugin-promise](https://npm.io/package/eslint-plugin-promise.md) 7.2.1
- [eslint-plugin-unicorn](https://npm.io/package/eslint-plugin-unicorn.md) 60.0.0
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) 10.1.8
- [eslint-plugin-jsx-a11y](https://npm.io/package/eslint-plugin-jsx-a11y.md) 6.10.2
- [eslint-plugin-storybook](https://npm.io/package/eslint-plugin-storybook.md) 9.1.16
- [@next/eslint-plugin-next](https://npm.io/package/@next/eslint-plugin-next.md) 15.5.9
- [eslint-plugin-playwright](https://npm.io/package/eslint-plugin-playwright.md) 2.4.0
- [eslint-plugin-react-hooks](https://npm.io/package/eslint-plugin-react-hooks.md) 5.2.0
- [eslint-plugin-perfectionist](https://npm.io/package/eslint-plugin-perfectionist.md) 4.15.1
- [eslint-plugin-testing-library](https://npm.io/package/eslint-plugin-testing-library.md) 7.13.5

## 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
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 5.0.0 (latest) — 2026-02-18
- 4.1.1 — 2023-04-23
- 4.1.0 — 2023-04-23
- 4.0.0 — 2023-04-07
- 3.7.0 — 2023-04-07
- 3.6.0 — 2023-03-20
- 3.5.5 — 2023-01-31
- 3.4.5 — 2023-01-29
- 3.3.5 — 2023-01-29
- 3.3.4 — 2023-01-29
- 3.3.3 — 2023-01-26
- 3.2.3 — 2022-11-08
- 3.1.3 — 2022-10-28
- 3.1.2 — 2022-08-21
- 3.1.1 — 2022-08-21
- … 23 more at https://npm.io/package/eslint-config-everywhere/versions

## README

# eslint-config-everywhere [![npm version](https://img.shields.io/npm/v/eslint-config-everywhere.svg)](https://www.npmjs.com/package/eslint-config-everywhere) [![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/locol23/config-everywhere/blob/main/packages/eslint-config-everywhere/LICENSE)

Sharable ESLint config for everywhere

> **Optimized for Modern Development**: This package uses ESLint v9+ flat config with the latest plugin versions and includes comprehensive configurations for TypeScript (using modern typescript-eslint), React, Next.js, Promise best practices, Vitest, Playwright, and Storybook. Perfect for BFF applications and frontend projects alike.

# Installation

```bash
pnpm i -D eslint eslint-config-everywhere
```

# Usage

## Flat Config (eslint.config.js)

ESLint v9+ uses the flat config format with modern plugin integrations. **For most TypeScript projects, use the `recommended` configuration:**

### Recommended Configuration

```js
import { recommended } from 'eslint-config-everywhere'

export default [...recommended]
```

This includes base rules, TypeScript rules, and testing configurations - perfect for TypeScript projects including BFF applications.

### Other Configurations

#### Base Configuration

```js
import { base } from 'eslint-config-everywhere'

export default [...base]
```

#### React Configuration

```js
import { recommended, react } from 'eslint-config-everywhere'

export default [...recommended, ...react]
```

#### TypeScript Configuration

```js
import { base, typescript } from 'eslint-config-everywhere'

export default [...base, ...typescript]
```

#### Next.js Configuration

```js
import { recommended, next } from 'eslint-config-everywhere'

export default [...recommended, ...next]
```

The `next` configuration automatically includes React rules (react, react-hooks, jsx-a11y plugins). React rules from both `recommended` and `next` will be applied, with `next` rules taking precedence where there are conflicts.

### Testing Configurations

```js
import {
  base,
  vitest,
  testingLibraryReact,
  playwright,
} from 'eslint-config-everywhere'

export default [...base, ...vitest, ...testingLibraryReact, ...playwright]
```

### Storybook Configuration

```js
import { base, storybook } from 'eslint-config-everywhere'

export default [...base, ...storybook]
```

### Available Configurations

- `base` - Core ESLint rules with import, perfectionist, promise, and unicorn plugins
- `react` - React and JSX accessibility rules with perfectionist JSX prop sorting
- `typescript` - TypeScript-specific linting rules using modern typescript-eslint with perfectionist object sorting
- `next` - Next.js recommended rules, core web vitals optimizations, and comprehensive React rules (includes react, react-hooks, jsx-a11y plugins)
- `node` - Node.js specific rules and global variables
- `vitest` - Vitest testing framework rules (replaces Jest)
- `playwright` - Playwright end-to-end testing rules
- `storybook` - Storybook-specific rules (v8.6.14 compatible)
- `testingLibraryReact` - Testing Library React rules
- `recommended` - Combines base, typescript, vitest, and playwright configurations (ideal for TypeScript projects including BFF applications)

## Run ESLint

```sh
eslint /path/to/your_source
```

# License

[MIT](LICENSE)

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