# @bigcommerce/eslint-config

> Default ESLint configuration used at BigCommerce

Latest version **2.13.1** (published 2026-02-16) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 45/100 (D)** — status: stable.

Positive: no vulnerabilities.

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

## Facts

| | |
|---|---|
| Version | 2.13.1 |
| Published | 2026-02-16 |
| First published | 2019-09-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 20 |
| Unpacked size | 24.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | BigCommerce |
| Maintainers | bcnpmuser, icatalina, chris.boulton, chanceaclark, jairobc, jmwiese, jorgemoya, cilo, toma-r, davidchin |

## Links

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

## Dependencies (20)

- [prettier](https://npm.io/package/prettier.md) ^3.5.3
- [eslint-plugin-jest](https://npm.io/package/eslint-plugin-jest.md) ^28.11.0
- [eslint-plugin-jsdoc](https://npm.io/package/eslint-plugin-jsdoc.md) ^50.6.3
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.37.4
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.31.0
- [eslint-plugin-gettext](https://npm.io/package/eslint-plugin-gettext.md) ^1.2.0
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^9.1.0
- [eslint-plugin-jest-dom](https://npm.io/package/eslint-plugin-jest-dom.md) ^5.5.0
- [eslint-plugin-jsx-a11y](https://npm.io/package/eslint-plugin-jsx-a11y.md) ^6.10.1
- [eslint-plugin-prettier](https://npm.io/package/eslint-plugin-prettier.md) ^5.2.3
- [@rushstack/eslint-patch](https://npm.io/package/@rushstack/eslint-patch.md) ^1.10.5
- [@stylistic/eslint-plugin](https://npm.io/package/@stylistic/eslint-plugin.md) ^2.1.0
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) ^8.26.0
- [eslint-plugin-react-hooks](https://npm.io/package/eslint-plugin-react-hooks.md) ^5.2.0
- [eslint-plugin-switch-case](https://npm.io/package/eslint-plugin-switch-case.md) ^1.1.2
- [@bigcommerce/eslint-plugin](https://npm.io/package/@bigcommerce/eslint-plugin.md) ^1.4.1
- [eslint-plugin-jest-formatting](https://npm.io/package/eslint-plugin-jest-formatting.md) ^3.1.0
- [eslint-plugin-testing-library](https://npm.io/package/eslint-plugin-testing-library.md) ^7.1.1
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^8.26.0
- [eslint-import-resolver-typescript](https://npm.io/package/eslint-import-resolver-typescript.md) ^3.8.3

## Recent versions

- 2.13.1 (latest) — 2026-02-16
- 2.0.0-alpha.8 (next) — 2021-09-02
- 2.13.0 — 2026-02-12
- 2.12.0 — 2025-10-28
- 2.11.0 — 2025-03-04
- 2.10.0 — 2024-12-04
- 2.9.1 — 2024-09-05
- 2.9.0 — 2024-05-13
- 2.8.1 — 2024-04-10
- 2.8.0 — 2024-01-17
- 2.7.0 — 2023-03-27
- 2.6.2 — 2022-11-16
- 2.6.1 — 2022-05-18
- 2.6.0 — 2022-05-05
- 2.5.0 — 2022-04-25
- … 15 more at https://npm.io/package/@bigcommerce/eslint-config/versions

## README

# @bigcommerce/eslint-config

This package is a configuration preset for [ESLint](https://eslint.org/).


## Install

```sh
npm install --save-dev eslint prettier
npm install --save-dev @bigcommerce/eslint-config
```


## Usage

Add `@bigcommerce/eslint-config` to your project's ESLint configuration file. i.e.:

```js
// .eslintrc.js
require('@bigcommerce/eslint-config/patch');

module.exports = {
  extends: ['@bigcommerce/eslint-config'],
};
```

This config also runs prettier via eslint, add the following to your `package.json`
```json
{
  "prettier": "@bigcommerce/eslint-config/prettier"
}
```

Stylistic rules are considered `warnings` for better developer experience, however, we recommend
running CI with:
```
eslint --max-warnings 0
```

## Usage with Next.js

Make sure to also extend from next's `core-web-vitals`.

```js
// .eslintrc.js
require('@bigcommerce/eslint-config/patch');

module.exports = {
  extends: ['@bigcommerce/eslint-config', 'next/core-web-vitals'],
};
```

## Release

Please refer to the documentation of [lerna](https://github.com/lerna/lerna) for release options.


## License

MIT

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