# @blitz/eslint-plugin

> An ESLint config to enforce a consistent code styles across StackBlitz projects

Latest version **0.1.5** (published 2026-07-17) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities; recently updated.

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

## Facts

| | |
|---|---|
| Version | 0.1.5 |
| Published | 2026-07-17 |
| First published | 2020-08-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | ^18.0.0 \|\| ^20.0.0 |
| Dependencies | 13 |
| Unpacked size | 105.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Dominic Elm |
| Maintainers | apai4, stackblitz-devops, ericmsimons, stackblitz-unpkg, d3lm, kwintenp, samverschueren, tsulkowski, _rvidal, ivannovo, nemikolh, _alexpate, petergrace, alexkalderimis, kirjava, jsphkeyes, achiurizostackblitz, ashleybolt, keenanpayne, george-sb, sb-mikec, aslemammad, selfcommit, tmickleydoyle, kevmcgivern, tahul, juliobolt, conormcgee |
| Keywords | eslint, eslint-plugin, stackblitz |

## Links

- npm: https://www.npmjs.com/package/@blitz/eslint-plugin
- npm.io page: https://npm.io/package/@blitz/eslint-plugin

## Dependencies (13)

- [eslint](https://npm.io/package/eslint.md) ^9.5.0
- [globals](https://npm.io/package/globals.md) ^15.6.0
- [common-tags](https://npm.io/package/common-tags.md) ^1.8.2
- [typescript-eslint](https://npm.io/package/typescript-eslint.md) ^8.0.0-alpha.30
- [eslint-plugin-jsonc](https://npm.io/package/eslint-plugin-jsonc.md) ^2.16.0
- [eslint-plugin-unicorn](https://npm.io/package/eslint-plugin-unicorn.md) ^55.0.0
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^9.1.0
- [eslint-plugin-import-x](https://npm.io/package/eslint-plugin-import-x.md) ^3.0.1
- [eslint-plugin-prettier](https://npm.io/package/eslint-plugin-prettier.md) ^5.1.3
- [@typescript-eslint/utils](https://npm.io/package/@typescript-eslint/utils.md) ^8.0.0-alpha.30
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) ^8.0.0-alpha.30
- [@stylistic/eslint-plugin-ts](https://npm.io/package/@stylistic/eslint-plugin-ts.md) ^2.2.2
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^8.0.0-alpha.30

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

- 0.1.5 (latest) — 2026-07-17
- 0.1.0-alpha.1 (alpha) — 2024-06-24
- 0.1.4 — 2025-04-08
- 0.1.3 — 2024-10-17
- 0.1.2 — 2024-09-13
- 0.1.1 — 2024-09-13
- 0.1.0 — 2024-06-25
- 0.0.45 — 2024-06-25
- 0.0.44 — 2024-04-17
- 0.0.43 — 2023-12-12
- 0.0.42 — 2023-06-21
- 0.0.41 — 2023-05-29
- 0.0.40 — 2023-03-07
- 0.0.39 — 2023-01-13
- 0.0.38 — 2022-12-29
- … 37 more at https://npm.io/package/@blitz/eslint-plugin/versions

## README

# @blitz/eslint-plugin

An ESLint plugin to enforce a consistent code styles across StackBlitz projects

## Installation

You'll first need to install [ESLint](http://eslint.org):

```
$ yarn add -D eslint
```

Next, install `@blitz/eslint-plugin`:

```
$ yarn add -D @blitz/eslint-plugin
```

**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `@blitz/eslint-plugin` globally.

## Usage

Add `@blitz/eslint-plugin` to the extends section of your `.eslintrc.js` or `.eslintrc.json` configuration file and
and configure `parser` and `parserOptions`. For the plugin, you can omit the `eslint-plugin-`:

```json
{
  "parser": "@typescript-eslint/parser",
  "parserOptions": {
    "ecmaVersion": 2019,
    "sourceType": "module",
    "ecmaFeatures": {
      "modules": true
    }
  },
  "extends": ["plugin:@blitz/recommended"]
}
```

## Custom Rules

- [`@blitz/block-scope-case`](https://github.com/stackblitz/eslint-plugin/blob/master/docs/rules/block-scope-case.md)
- [`@blitz/catch-error-name`](https://github.com/stackblitz/eslint-plugin/blob/master/docs/rules/catch-error-name.md)
- [`@blitz/comment-syntax`](https://github.com/stackblitz/eslint-plugin/blob/master/docs/rules/comment-syntax.md)
- [`@blitz/lines-around-comment`](https://github.com/stackblitz/eslint-plugin/blob/master/docs/rules/lines-around-comment.md)
- [`@blitz/newline-before-return`](https://github.com/stackblitz/eslint-plugin/blob/master/docs/rules/newline-before-return.md)

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