Skip to main content

Module lint

Module lint 

Source
Expand description

Content Linting Module

Validates served content (HTML, CSS, JS, WASM, JSON) to catch errors early.

§Supported Linters

File TypeChecks
HTMLValid structure, missing attributes, broken links
CSSParse errors, unknown properties
JavaScriptSyntax errors, module resolution
WASMValid module structure
JSONParse validity

Structs§

ContentLinter
Content linter
LintReport
Lint report for a directory
LintResult
A single lint result

Enums§

LintSeverity
Lint severity levels

Functions§

render_lint_json
Render lint report as JSON
render_lint_report
Render lint report as text