metalsmith-html-linter
JSON →A Metalsmith plugin to lint HTML for syntax and semantics using linthtml/htmllint. Current stable version is 2.0.13, compatible with Metalsmith ^2.5.0 and Node >=20.18.1. It catches HTML violations during the build process, stopping the build on errors. Default rules ban deprecated attributes and tags, with options for custom lint config, ignored tags, and parallelism. Supports both ESM and TypeScript.
Resources
packagemetalsmith-html-linter ↗
API endpoints
full doc /v1/registry/metalsmith-html-linter