# eslint-config-turbo

> ESLint config for Turborepo

Latest version **2.11.10** (published 2026-10-20) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; popular repo.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 2.11.10 |
| Published | 2026-10-20 |
| First published | 2022-08-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 31281 |
| Author | Vercel |
| Maintainers | vercel-release-bot, turbobot |
| Keywords | eslint, eslint-config, eslintconfig, turbo, turborepo |

## Links

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

## Dependencies (1)

- [eslint-plugin-turbo](https://npm.io/package/eslint-plugin-turbo.md) 2.11.10

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

- 2.11.10 (latest) — 2026-10-20
- 2.11.11-canary.2 (canary) — 2026-11-06
- 2.3.7 (turbo-2.3) — 2025-02-13
- 2.11.11-canary.1 — 2026-10-29
- 2.11.9 — 2026-10-16
- 2.11.9-canary.1 — 2026-10-16
- 2.11.8 — 2026-10-13
- 2.11.8-canary.2 — 2026-10-08
- 2.11.8-canary.1 — 2026-10-08
- 2.11.7 — 2026-10-02
- 2.11.6 — 2026-10-01
- 2.11.5 — 2026-09-28
- 2.11.5-canary.5 — 2026-09-27
- 2.11.5-canary.4 — 2026-09-27
- 2.11.5-canary.3 — 2026-09-27
- … 786 more at https://npm.io/package/eslint-config-turbo/versions

## README

# `eslint-config-turbo`

Ease configuration for Turborepo

## Installation

1. You'll first need to install [ESLint](https://eslint.org/):

```sh
npm install eslint --save-dev
```

2. Next, install `eslint-config-turbo`:

```sh
npm install eslint-config-turbo --save-dev
```

## Usage (Flat Config `eslint.config.js`)

```js
import turboConfig from "eslint-config-turbo/flat";

export default [
  ...turboConfig
  // Other configuration
];
```

You can also configure rules available in the configuration:

```js
import turboConfig from "eslint-config-turbo/flat";

export default [
  ...turboConfig,
  // Other configuration
  {
    rules: {
      "turbo/no-undeclared-env-vars": [
        "error",
        {
          allowList: ["^ENV_[A-Z]+$"]
        }
      ]
    }
  }
];
```

## Usage (Legacy `eslintrc*`)

Add `turbo` to the extends section of your eslint configuration file. You can omit the `eslint-config-` prefix:

```json
{
  "extends": ["turbo"]
}
```

You can also configure rules available in the configuration:

```json
{
  "extends": ["turbo"],
  "rules": {
    "turbo/no-undeclared-env-vars": [
      "error",
      {
        "allowList": ["^ENV_[A-Z]+$"]
      }
    ]
  }
}
```

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