# eslint-config-ironplate

> Shareable ESLint configuration

Latest version **3.1.0** (published 2026-11-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install eslint-config-ironplate
pnpm add eslint-config-ironplate
yarn add eslint-config-ironplate
bun add eslint-config-ironplate
```

## Health

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

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

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 3.1.0 |
| Published | 2026-11-19 |
| First published | 2019-10-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=20 |
| Dependencies | 0 |
| Unpacked size | 37.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 0 |
| Author | Priyank Parashar |
| Maintainers | paras20xx |
| Keywords | eslint, eslintconfig |

## Links

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

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

- 3.1.0 (latest) — 2026-11-19
- 3.0.0 — 2026-06-10
- 2.4.0 — 2025-12-26
- 2.3.0 — 2025-12-26
- 2.2.0 — 2025-11-22
- 2.1.0 — 2025-10-26
- 2.0.1 — 2025-10-12
- 2.0.0 — 2025-10-01
- 1.9.0 — 2025-09-28
- 1.8.0 — 2025-09-13
- 1.7.2 — 2025-09-13
- 1.7.1 — 2025-09-06
- 1.7.0 — 2025-09-06
- 1.6.0 — 2025-08-21
- 1.5.0 — 2025-08-20
- … 33 more at https://npm.io/package/eslint-config-ironplate/versions

## README

# eslint-config-ironplate
Shareable ESLint configuration

## Installation
`$ npm install --save-dev eslint-config-ironplate`

When you run this installation command, you will also see a guide about installing peerDependencies.

Note: The react-family peerDependencies (`@eslint-react/eslint-plugin`, `eslint-plugin-react-hooks`,
`eslint-plugin-react-refresh`) are optional and only needed when using the react configs. Similarly, `typescript`
and `typescript-eslint` are optional and only needed when using the TypeScript configs.

## Example usages
In `eslint.config.js` / `eslint.config.mjs` file, use it like one of the following combinations:
```js
import eslintConfigIronplate from 'eslint-config-ironplate';
// OR import eslintConfigIronplateNode            from 'eslint-config-ironplate/node.js';
// OR import eslintConfigIronplateReact           from 'eslint-config-ironplate/react.js';
// OR import eslintConfigIronplateTypeScript      from 'eslint-config-ironplate/typescript.js';
// OR import eslintConfigIronplateNodeTypeScript  from 'eslint-config-ironplate/node-typescript.js';
// OR import eslintConfigIronplateReactTypeScript from 'eslint-config-ironplate/react-typescript.js';

export default [
    ...eslintConfigIronplate
    // OR ...eslintConfigIronplateNode
    // OR ...eslintConfigIronplateReact
    // OR ...eslintConfigIronplateTypeScript
    // OR ...eslintConfigIronplateNodeTypeScript
    // OR ...eslintConfigIronplateReactTypeScript

    // ... project specific configuration ...
];
```

Note: For the TypeScript configs, no `languageOptions.parser` setup is needed - the parser comes bundled (via the
`typescript-eslint` package).

## Globals
These configs intentionally do not declare any language globals, since the right set depends on where your code
runs (Node.js, browser, tests etc.). Without declaring them, the `no-undef` rule would flag identifiers like
`process`, `window` and `document`.

Declare the globals your project runs under via the `globals` package (it is already available as a peerDependency
of this package):
```js
import globals from 'globals';

import eslintConfigIronplateNode from 'eslint-config-ironplate/node.js';

export default [
    ...eslintConfigIronplateNode,

    {
        languageOptions: {
            globals: {
                ...globals.node     // For Node.js projects
                // ...globals.browser  // For browser / React projects
            }
        }
    }
];
```

Note: Some other useful sets are `globals.nodeBuiltin` (Node.js ESM) and `globals.jest`. To apply different globals
to different parts of the project, use multiple config objects scoped via `files`, eg:
`{ files: ['**/*.test.js'], languageOptions: { globals: { ...globals.jest } } }`.

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