# @codemirror/lint

> Linting support for the CodeMirror code editor

Latest version **6.9.7** (published 2026-06-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @codemirror/lint
pnpm add @codemirror/lint
yarn add @codemirror/lint
bun add @codemirror/lint
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 6.9.7 |
| Published | 2026-06-09 |
| First published | 2020-12-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 95.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Marijn Haverbeke |
| Maintainers | marijn |
| Keywords | editor, code |

## Links

- npm: https://www.npmjs.com/package/@codemirror/lint
- Repository: https://code.haverbeke.berlin/codemirror/lint
- npm.io page: https://npm.io/package/@codemirror/lint

## Dependencies (3)

- [crelt](https://npm.io/package/crelt.md) ^1.0.5
- [@codemirror/view](https://npm.io/package/@codemirror/view.md) ^6.42.0
- [@codemirror/state](https://npm.io/package/@codemirror/state.md) ^6.0.0

## Alternatives

- [flatbuffers](https://npm.io/package/flatbuffers.md) — 6.0M weekly downloads
- [jwt-simple](https://npm.io/package/jwt-simple.md) — 259.5K weekly downloads
- [@exodus/patch-broken-hermes-typed-arrays](https://npm.io/package/@exodus/patch-broken-hermes-typed-arrays.md) — 28.5K weekly downloads
- [@native-to-anchor/buffer-layout](https://npm.io/package/@native-to-anchor/buffer-layout.md) — 12.2K weekly downloads
- [binary-parser-encoder](https://npm.io/package/binary-parser-encoder.md) — 5.3K weekly downloads

## Recent versions

- 6.9.7 (latest) — 2026-06-09
- 6.9.6 — 2026-05-06
- 6.9.5 — 2026-03-02
- 6.9.4 — 2026-02-11
- 6.9.3 — 2026-01-27
- 6.9.2 — 2025-11-03
- 6.9.1 — 2025-10-23
- 6.9.0 — 2025-10-02
- 6.8.5 — 2025-03-26
- 6.8.4 — 2024-11-28
- 6.8.3 — 2024-11-21
- 6.8.2 — 2024-09-24
- 6.8.1 — 2024-06-19
- 6.8.0 — 2024-05-23
- 6.7.1 — 2024-05-15
- … 33 more at https://npm.io/package/@codemirror/lint/versions

## README

# @codemirror/lint [![NPM version](https://img.shields.io/npm/v/@codemirror/lint.svg)](https://www.npmjs.org/package/@codemirror/lint)

[ [**WEBSITE**](https://codemirror.net/) | [**DOCS**](https://codemirror.net/docs/ref/#lint) | [**ISSUES**](https://code.haverbeke.berlin/codemirror/dev/issues) | [**FORUM**](https://discuss.codemirror.net/) | [**CHANGELOG**](https://code.haverbeke.berlin/codemirror/lint/src/branch/main/CHANGELOG.md) ]

This package implements linting support for the
[CodeMirror](https://codemirror.net/) code editor.

The [project page](https://codemirror.net/) has more information, a
number of [examples](https://codemirror.net/examples/) and the
[documentation](https://codemirror.net/docs/).

This code is released under an
[MIT license](https://code.haverbeke.berlin/codemirror/lint/tree/main/LICENSE).

We aim to be an inclusive, welcoming community. To make that explicit,
we have a [code of
conduct](http://contributor-covenant.org/version/1/1/0/) that applies
to communication around the project.

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