# @justia/eslint-config

> Justia's base JS ESLint configuration

Latest version **5.0.3** (published 2026-03-09) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

## Facts

| | |
|---|---|
| Version | 5.0.3 |
| Published | 2026-03-09 |
| First published | 2019-08-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=12.22.0 |
| Dependencies | 1 |
| Unpacked size | 47.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Diego Miguel <digznav@gmail.com> |
| Maintainers | justiauser, mayrop, digznav |
| Keywords | config, es2015, es2016, es2017, es2018, eslint, eslintconfig, javascript, justia, styleguide |

## Links

- npm: https://www.npmjs.com/package/@justia/eslint-config
- Repository: https://github.com/justia/front-end-projects
- Homepage: https://github.com/justia/front-end-projects/tree/master/packages/eslint-config#readme
- Issues: https://github.com/justia/front-end-projects/issues
- npm.io page: https://npm.io/package/@justia/eslint-config

## Dependencies (1)

- [confusing-browser-globals](https://npm.io/package/confusing-browser-globals.md) ^1.0.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

- 5.0.3 (latest) — 2026-03-09
- 5.0.2 — 2025-07-23
- 5.0.1 — 2025-07-08
- 5.0.0 — 2024-07-17
- 4.1.7 — 2024-05-21
- 4.1.6 — 2023-11-13
- 4.1.5 — 2023-08-30
- 4.1.4 — 2023-02-15
- 4.1.3 — 2023-02-09
- 4.1.2 — 2023-01-16
- 4.1.1 — 2022-11-28
- 4.1.0 — 2022-11-11
- 4.0.1 — 2022-11-04
- 4.0.0 — 2022-05-31
- 3.1.3 — 2021-08-06
- … 17 more at https://npm.io/package/@justia/eslint-config/versions

## README

<!-- UPDATE-PACKAGES:START - Do not remove or modify this section -->

# `@justia/eslint-config` ![version 5.0.3](https://img.shields.io/badge/version-5.0.3-blue?style=flat-square) <!-- omit from toc -->

> Justia's base JS ESLint configuration

<!-- UPDATE-PACKAGES:END -->

This package provides Justia's base JavaScript guidelines (without React plugins) as an extensible shared configuration.

> Make sure you upgrade to at least Node.js `12.22.0` when using ESLint `v8.0.0`. One important thing to double check is the Node.js version supported by your editor when using ESLint via editor integrations. If you are unable to upgrade, we recommend continuing to use ESLint `7` until you are able to upgrade Node.js.

## Install

Install the correct versions of the peer dependencies, which are listed by the command:

```shell
npm info "@justia/eslint-config@latest" peerDependencies
```

If using **npm 5+**, use this shortcut

```shell
npx install-peerdeps --dev @justia/eslint-config
```

If using npm < 5, Linux/OSX users can run

```shell
(
export PKG=@justia/eslint-config;
npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)
```

Which produces and runs a command like:

```shell
npm install --save-dev @justia/eslint-config eslint@^#.#.# prettier@^#.#.# babel-eslint@^#.#.# eslint-config-prettier@^#.#.# eslint-plugin-import@^#.#.# eslint-plugin-prettier@^#.#.# eslint-plugin-promise@^#.#.#
```

## Usage

This configuration contains all of our ESLint rules, including ECMAScript 6+ and formatting styles. It requires the following external packages:

- `eslint`
- `prettier`
- `babel-eslint`
- `eslint-config-prettier`
- `eslint-plugin-import`
- `eslint-plugin-prettier`
- `eslint-plugin-promise`

After installation of packages and its peer dependencies, add `"extends": ["@justia"]` to your `.eslintrc`.

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