1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 21:02:09 +00:00

Add html-validate to local linters

This commit is contained in:
Rohan Kumar 2023-10-20 04:06:36 -07:00
parent 53ad66f469
commit 980a6b4ec4
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
2 changed files with 8 additions and 1 deletions

View file

@ -83,8 +83,12 @@ hint: hugo .hintrc-local
hint --config .hintrc-local -f codeframe $(OUTPUT_DIR)
rm .hintrc-local
.PHONY: html-validate
html-validate:
pnpm -s dlx html-validate --ext=html -c linter-configs/htmlvalidate.json $(OUTPUT_DIR)
.PHONY: lint-local
lint-local: validate-html validate-json lint-css
lint-local: html-validate validate-html validate-json lint-css
# dev server, includes future and draft posts
.PHONY: serve

View file

@ -29,6 +29,9 @@
],
"prefer-button": [
"off"
],
"no-trailing-whitespace": [
"off"
]
}
}