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"], "extends": ["html-validate:recommended"],
"rules": { "rules": {
"attr-no-dup": "error", "no-implicit-button-type": "off",
"doctype-style": "error", "no-inline-style": "off",
"element-no-empty": ["warn", {"void": true}] "void-style": "off",
"doctype-style": "off",
"aria-label-misuse": "off",
"no-redundant-aria-label": "off"
} }
} }