Expand description
Content Linting Module
Validates served content (HTML, CSS, JS, WASM, JSON) to catch errors early.
§Supported Linters
| File Type | Checks |
|---|---|
| HTML | Valid structure, missing attributes, broken links |
| CSS | Parse errors, unknown properties |
| JavaScript | Syntax errors, module resolution |
| WASM | Valid module structure |
| JSON | Parse validity |
Structs§
- Content
Linter - Content linter
- Lint
Report - Lint report for a directory
- Lint
Result - A single lint result
Enums§
- Lint
Severity - Lint severity levels
Functions§
- render_
lint_ json - Render lint report as JSON
- render_
lint_ report - Render lint report as text