# htmlhint/HTMLHint

⚙️ The static code analysis tool you need for your HTML

Repository: https://github.com/htmlhint/HTMLHint
Canonical: https://ross.abutalabs.com/products/htmlhint
Homepage: https://htmlhint.com
Language: JavaScript
License: MIT
License Family: permissive
Topics: htmlhint, html, hint, code-quality, code-analysis, analysis, javascript
Last push: 2026-08-25T06:44:29+00:00

## Health v2 (maintenance only)
Score: 90/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 73, longevity 100
- inputs: {"age_days": 4938, "days_push": 8, "days_rel": 181, "gap_med": 3, "n_releases_24m": 16}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3308, forks 468 (observed 2026-08-28T04:07:55.873252+00:00)

## What it is
HTMLHint is a static code analysis (linting) tool for HTML, configurable via a .htmlhintrc file with many built-in rules. It runs as a CLI, programmatically via Node.js, and integrates with editors, task runners, and CI pipelines.

## Use cases
- lint html files for errors
- enforce html best practices in a project
- check html code quality in ci
- validate html attribute and tag usage
- lint html from a url
- integrate html linting into webpack or gulp
- get real-time html linting in vs code

## When to choose
- you need a dedicated, configurable HTML linter with CLI and programmatic APIs
- you want SARIF output for GitHub Code Scanning
- you need editor or CI integration for HTML quality checks

## When to avoid
- you need linting for CSS or JavaScript (use Stylelint or ESLint)
- you need full HTML validation against a spec or DTD
- your project does not use Node.js

## Facets
- artifact type: cli-tool
- maturity: active
- function: linter, static-site-generator, cli, developer-tools
- domain: web-development, frontend, developer-tools, testing
- platform: cli, cross-platform, editor-plugin
- tags: html-linter, static-analysis, code-quality, vscode-extension, sarif, npm, nodejs

## Member repositories
- htmlhint/HTMLHint (main) score 90

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:55.873252+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:42:37.496186+00:00, confidence not recorded.
  - readme: https://github.com/htmlhint/HTMLHint (fetched 2026-08-28T04:07:55.873252+00:00, sha 7aede49ffc7c)
  - homepage: https://htmlhint.com (fetched 2026-08-29T09:35:28.454315+00:00, sha d01209689ac5)
  - site_page: https://htmlhint.com/getting-started (fetched 2026-08-29T09:35:28.457140+00:00, sha 8cab6e1e29ce)
  - registry_npm: https://registry.npmjs.org/htmlhint (fetched 2026-08-29T09:35:28.465269+00:00, sha 9c2969e47809)
  - site_page: https://htmlhint.com/integrations/task-runner (fetched 2026-08-29T09:35:28.459661+00:00, sha 0981db8b3e14)
  - site_page: https://htmlhint.com/integrations/other (fetched 2026-08-29T09:35:28.461413+00:00, sha 8efee3402cc1)
  - site_page: https://htmlhint.com/changelog (fetched 2026-08-29T09:35:28.463191+00:00, sha 1c2605f07496)
- Data as of 2026-08-30T08:39:29.467469+00:00.
