html
HTML files: valid structure, accessibility, and no inline scripts or event handlers.
Checks
Section titled “Checks”| Check | Stage | Level | What it does |
|---|---|---|---|
html/html-validate |
commit |
recommended |
Validates HTML files for nesting, required attributes, text alternatives, and one style for void elements. |
html/scripts |
commit |
all |
Reports inline scripts, event handler attributes, and executable URLs in HTML files. |
Selected when
Section titled “Selected when”gspot selects it in a scope with file extensions .html, .htm. A configuration that requires it selects it too: site.
Rules for coding agents
Section titled “Rules for coding agents”| Rule file | Installed when |
|---|---|
.gspot/configurations/language/html/rules/HTML.md |
Always |
Tools and versions
Section titled “Tools and versions”| Tool | Version |
|---|---|
| html-validate | 11.6.1 |
Files gspot writes
Section titled “Files gspot writes”gspot writes .gspot/configurations/language/html/html-validate.json.