# @gearbox-protocol/eslint-config

> Eslint config for gearbox projects

Latest version **2.0.0** (published 2026-06-12) · MIT license · 0 weekly downloads

## Install

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

## Health

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

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

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

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2026-06-12 |
| First published | 2022-08-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 9 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 0 |
| Maintainers | doomsower, apeir99n, mikaella, essserrr, van0k, gearbox-dev, lekho, ark57, de-snake, gregorymel__, dabaycode |

## Links

- npm: https://www.npmjs.com/package/@gearbox-protocol/eslint-config
- Repository: https://github.com/Gearbox-protocol/style-guide
- Homepage: https://github.com/Gearbox-protocol/style-guide#readme
- Issues: https://github.com/Gearbox-protocol/style-guide/issues
- npm.io page: https://npm.io/package/@gearbox-protocol/eslint-config

## Dependencies (9)

- [eslint-config-alloy](https://npm.io/package/eslint-config-alloy.md) ^5.1.2
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.33.2
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.28.1
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) ^6.7.2
- [eslint-plugin-react-hooks](https://npm.io/package/eslint-plugin-react-hooks.md) ^4.6.0
- [eslint-plugin-unused-imports](https://npm.io/package/eslint-plugin-unused-imports.md) ^3.0.0
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^6.7.2
- [eslint-plugin-simple-import-sort](https://npm.io/package/eslint-plugin-simple-import-sort.md) ^10.0.0
- [eslint-import-resolver-typescript](https://npm.io/package/eslint-import-resolver-typescript.md) ^3.6.0

## Recent versions

- 2.0.0 (latest) — 2026-06-12
- 2.0.0-next.0 (next) — 2023-09-18
- 2.0.0-next.2 — 2024-02-01
- 2.0.0-next.1 — 2024-02-01
- 1.6.1 — 2022-09-09
- 1.6.0 — 2022-09-09
- 1.5.7 — 2022-08-24
- 1.5.6 — 2022-08-24
- 1.5.5 — 2022-08-24
- 1.5.4 — 2022-08-24
- 1.5.3 — 2022-08-23
- 1.5.2 — 2022-08-23
- 1.5.1 — 2022-08-23
- 1.5.0 — 2022-08-23
- 1.4.1 — 2022-08-18
- … 3 more at https://npm.io/package/@gearbox-protocol/eslint-config/versions

## README

# `@gearbox-protocol/eslint-config`

[Eslint](https://eslint.org/) config to use in gearbox projects

## Usage

Install:

```bash
$ yarn add -D @gearbox-protocol/eslint-config eslint
```

Add `.eslintrc.json` file to a repo with following content:

```json
{
  "root": true,
  "extends": ["@gearbox-protocol/eslint-config"]
}
```

For React projects use

```json
{
  "root": true,
  "extends": ["@gearbox-protocol/eslint-config/react"]
}
```

## Overriding some rules

You can use even stricter rules locally

Add `.eslint.local.json` with stricter rules to your project root and to `.gitignore`. Put your overrides there, e.g.:

```json
{
  "rules": {
    "unused-imports/no-unused-imports": "error"
  }
}
```

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