# @html-eslint/eslint-plugin

> ESLint plugin for HTML

Latest version **0.65.0** (published 2026-08-17) · MIT license · 0 weekly downloads

## Install

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

## Health

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

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

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

## Facts

| | |
|---|---|
| Version | 0.65.0 |
| Published | 2026-08-17 |
| First published | 2020-11-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 274 |
| Author | yeonjuan |
| Maintainers | yeonjuan-joah |
| Keywords | eslint, eslintplugin, eslint-plugin, html, formatter, lint, accessibility |

## Links

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

## 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
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 0.65.0 (latest) — 2026-08-17
- 0.65.0-alpha.0 (alpha) — 2026-08-16
- 0.64.0 — 2026-07-10
- 0.63.0 — 2026-06-27
- 0.62.0 — 2026-06-09
- 0.62.0-alpha.0 — 2026-06-07
- 0.61.0 — 2026-05-24
- 0.60.0 — 2026-04-29
- 0.60.0-alpha.2 — 2026-04-28
- 0.60.0-alpha.1 — 2026-04-26
- 0.60.0-alpha.0 — 2026-04-26
- 0.59.0 — 2026-04-05
- 0.58.1 — 2026-03-05
- 0.58.0 — 2026-03-04
- 0.58.0-0.58.0-alpha.1.0 — 2026-03-04
- … 111 more at https://npm.io/package/@html-eslint/eslint-plugin/versions

## README

# `@html-eslint/eslint-plugin`

ESLint plugin providing HTML linting rules for `.html` files.

## Installation

```bash
npm install --save-dev eslint @html-eslint/parser @html-eslint/eslint-plugin
```

## Configuration

```js
// eslint.config.js
import { defineConfig } from "eslint/config";
import html from "@html-eslint/eslint-plugin";

export default defineConfig([
  {
    files: ["**/*.html"],
    plugins: {
      html,
    },
    // When using the recommended rules (or "html/all" for all rules)
    extends: ["html/recommended"],
    language: "html/html",
    rules: {
      "html/no-duplicate-class": "error",
    },
  },
]);
```

## Documentation

- [Getting Started](https://html-eslint.org/docs/getting-started)
- [Rules](https://html-eslint.org/docs/rules)
- [Playground](https://html-eslint.org/playground)

## License

MIT

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