# @1024pix/eslint-plugin

> Des règles de lint pour les projets 1024pix

Latest version **3.0.15** (published 2026-10-27) · 0 weekly downloads

## Install

```sh
npm install @1024pix/eslint-plugin
pnpm add @1024pix/eslint-plugin
yarn add @1024pix/eslint-plugin
bun add @1024pix/eslint-plugin
```

## Health

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

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

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 3.0.15 |
| Published | 2026-10-27 |
| First published | 2023-10-06 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | ESM |
| Node | ^20.19 \|\| ^22.13 \|\| ^24 |
| Dependencies | 4 |
| Unpacked size | 26.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 0 |
| Maintainers | pix-owner, nicolas.lepage |

## Links

- npm: https://www.npmjs.com/package/@1024pix/eslint-plugin
- Repository: https://github.com/1024pix/eslint-plugin
- Homepage: https://github.com/1024pix/eslint-plugin#readme
- Issues: https://github.com/1024pix/eslint-plugin/issues
- npm.io page: https://npm.io/package/@1024pix/eslint-plugin

## Dependencies (4)

- [@eslint/js](https://npm.io/package/@eslint/js.md) ^10.0.1
- [eslint-plugin-yml](https://npm.io/package/eslint-plugin-yml.md) ^3.8.1
- [eslint-plugin-simple-import-sort](https://npm.io/package/eslint-plugin-simple-import-sort.md) ^14.0.0
- [@eslint-community/eslint-plugin-eslint-comments](https://npm.io/package/@eslint-community/eslint-plugin-eslint-comments.md) ^4.7.2

## Recent versions

- 3.0.15 (latest) — 2026-10-27
- 3.0.14 — 2026-10-26
- 3.0.13 — 2026-10-26
- 3.0.12 — 2026-10-23
- 3.0.11 — 2026-10-22
- 3.0.10 — 2026-10-21
- 3.0.9 — 2026-10-21
- 3.0.8 — 2026-10-19
- 3.0.7 — 2026-10-19
- 3.0.6 — 2026-10-13
- 3.0.5 — 2026-10-12
- 3.0.4 — 2026-08-06
- 3.0.3 — 2026-08-06
- 3.0.2 — 2026-08-06
- 3.0.1 — 2026-08-06
- … 40 more at https://npm.io/package/@1024pix/eslint-plugin/versions

## README

# @1024pix/eslint-plugin

[![npm](https://img.shields.io/npm/v/@1024pix/eslint-plugin)](https://npmjs.com/package/@1024pix/eslint-plugin)

## Usage

### Install

```bash
npm install --save-dev eslint@^9 @1024pix/eslint-plugin
```

### Config `eslint.config.cjs`

```cjs
const pixEslintConfig = require('@1024pix/eslint-plugin/config');

module.exports = pixEslintConfig;
```

Note that this ESLint config is not ready to use with ESM.

### Add script for package.json

For example:

```json
{
  "scripts": {
    "lint": "eslint .",
    "lint:fix": "eslint . --fix"
  }
}
```

### Config VS Code auto fix

Install [VS Code ESLint extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) and create `.vscode/settings.json`

```json
{
  "prettier.enable": false,
  "editor.formatOnSave": false,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true,
    "source.organizeImports": false
  }
}
```

## FAQ

### I prefer XXX...

Sure, you can override the rules in your `eslint.config.js` file.

```cjs
const pixEslintConfig = require('@1024pix/eslint-plugin/config');

module.exports = [
  ...pixEslintConfig,
  {
    rules: {
      // your rules...
    },
  },
];
```

Or you can always fork this repo and make your own.

## Migration guide

### v1.2.0

Before v1.2.0, Pix Config was provided by the [@1024pix/eslint-config](https://github.com/1024pix/eslint-config) project.

After upgrading, you should migrate from the old `.eslintrc` files to the new `eslint.config.cjs` file format.

Take a look at the [official ESLint migration guide](https://eslint.org/docs/latest/use/configure/migration-guide). You can also take inspiration from [this Pix context example](https://github.com/1024pix/pix/pull/8995).

Once finished, `@1024pix/eslint-config` can safely be removed.

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