Relax html-validate rules to avoid noisy errors (buttons/styles/void tags)

This commit is contained in:
Stefan Koelle
2026-05-01 22:21:15 +02:00
parent 2f3b3090eb
commit 90514dbddd
+6 -3
View File
@@ -1,8 +1,11 @@
{
"extends": ["html-validate:recommended"],
"rules": {
"attr-no-dup": "error",
"doctype-style": "error",
"element-no-empty": ["warn", {"void": true}]
"no-implicit-button-type": "off",
"no-inline-style": "off",
"void-style": "off",
"doctype-style": "off",
"aria-label-misuse": "off",
"no-redundant-aria-label": "off"
}
}