# @cdoublev/eslint-config

> ESLint configurations

Latest version **0.13.0** (published 2026-07-20) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 55/100 (C)** — status: active.

Positive: esm support; no vulnerabilities; recently updated.

Warnings: low downloads; no types; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.13.0 |
| Published | 2026-07-20 |
| First published | 2019-07-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 8.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Guillaume Lebas |
| Maintainers | cdoublev |
| Keywords | eslint, eslintconfig |

## Links

- npm: https://www.npmjs.com/package/@cdoublev/eslint-config
- Repository: https://github.com/creativewave/eslint-config
- Issues: https://github.com/creativewave/eslint-config/issues
- npm.io page: https://npm.io/package/@cdoublev/eslint-config

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

- 0.13.0 (latest) — 2026-07-20
- 0.12.0 — 2025-07-10
- 0.11.5 — 2025-03-03
- 0.11.4 — 2025-02-23
- 0.11.3 — 2025-02-23
- 0.11.2 — 2025-02-23
- 0.11.0 — 2024-08-08
- 0.10.3 — 2023-09-23
- 0.10.2 — 2023-09-23
- 0.10.1 — 2022-11-20
- 0.10.0 — 2022-11-20
- 0.9.1 — 2022-11-20
- 0.9.0 — 2021-11-12
- 0.8.2 — 2020-12-13
- 0.8.1 — 2020-11-28
- … 10 more at https://npm.io/package/@cdoublev/eslint-config/versions

## README

# ESLint configuration

Minimal ESLint rule presets:

  - `@cdoublev/eslint-config`: to lint (ES6+) files executed anywhere
  - `@cdoublev/eslint-config/node`: to lint files executed in NodeJS
  - `@cdoublev/eslint-config/browser`: to lint files executed in a browser
  - `@cdoublev/eslint-config/react`: to lint files executed in React

**Usage**

Simply add the required configurations to the main export of `eslint.config.js`. For example, in a server side rendered React application, tested with Jest:

```js
// eslint.config.js

const common = require('@cdoublev/eslint-config')
const browser = require('@cdoublev/eslint-config/browser')
const node = require('@cdoublev/eslint-config/node')
const react = require('@cdoublev/eslint-config/react')

module.exports = [
  common,
  react,
  { ...node, files: ['server/**/*.js'] },
  { ...browser, files: ['src/**/*.js'] },
]
```

**How rules are selected?**

  - they must be as few as possible to detect errors (tests already exist for this)
  - they must be otherwise related to spacing, line breaks, code complexity
  - they must not increase code complexity
  - they must be widely accepted by the JS community

This [document](https://docs.google.com/spreadsheets/d/1yPd3sRYB1A81YxMk06ckDMLhZgFYyO66Z0gIVhITBgQ/) provides some comments about each rule. If a rule exists in this document and is not activated, it will never be.

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