v1.1.0
Custom tag validators
Custom tag validation now separates attribute schemas from richer project rules:
- Tag schemas are draft-06 JSON Schemas over the flat attribute object only.
pluginModulereplacesajvModuleand can exportformatsand synchronousvalidators.- Validator ids behave like lint rule ids, including severity overrides and inline disables.
- Validators receive one-level child facades with mustache-section flattening and optional raw
innerHtml.
Breaking validation changes
- Removed draft 2020-12 schema support.
- Removed the element-envelope schema shape (
tag,attributes,children,text,innerHtml). - Removed custom AJV keyword registration and
htmlGlobalAttributesexpansion. - Schema deprecation diagnostics now apply to flat attribute schemas only.
Cleanup
- Removed unused
aria-attributesandhtml-element-attributesdependencies.
Checks
pnpm run lintpnpm run format:checkpnpm run typecheckpnpm run test:jspnpm run build:jspnpm --prefix lsp run typecheckpnpm --prefix lsp run testpnpm --prefix lsp run build:productionpnpm test