summaryrefslogtreecommitdiff
path: root/.htmlvalidate.json
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-01-30 20:44:54 -0500
committerGitHub <noreply@github.com>2021-01-30 20:44:54 -0500
commit9e83faa02c136da9e4749b696d8c7a0b363c0745 (patch)
treeaa0b5d7f4ee78a870da84e80e4eef266c2485570 /.htmlvalidate.json
parent60c38ab83c429d9e4853dbd4ea9fa06eb8f9efa6 (diff)
Html lint (#1336)
* Move style rules * Fix non-unique IDs * Remove erroneous ids * Add title * Fix invalid closing tag * Install html-validate * Add .htmlvalidate.json * Update HTML and styles * Add test-lint-html * Update test files * Update test-lint-html/css commands to have more explicit targets
Diffstat (limited to '.htmlvalidate.json')
-rw-r--r--.htmlvalidate.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/.htmlvalidate.json b/.htmlvalidate.json
new file mode 100644
index 00000000..bb3c5221
--- /dev/null
+++ b/.htmlvalidate.json
@@ -0,0 +1,18 @@
+{
+ "root": true,
+ "extends": [
+ "html-validate:recommended"
+ ],
+ "rules": {
+ "element-required-attributes": "off",
+ "element-permitted-content": "off",
+ "text-content": "off",
+ "void-style": ["error", {"style": "omit"}],
+ "empty-heading": "off",
+ "wcag/h30": "off",
+ "no-inline-style": "off"
+ },
+ "elements": [
+ "html5"
+ ]
+} \ No newline at end of file