From 3df303dfcfdf36a642391847bd2169d73a44e0c3 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Mon, 24 Apr 2023 09:53:36 -0700 Subject: [PATCH] update build scripts - new version of webhint has false positives - new html-proofer has different flags - add a comment --- .build.yml | 4 ++-- Makefile | 2 +- linter-configs/hintrc | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.build.yml b/.build.yml index 7176fb4..9644077 100644 --- a/.build.yml +++ b/.build.yml @@ -4,9 +4,9 @@ # hugo, brotli, ect (like gzip/zopfli), sd, htmlq (like jq for html), and xmllint. image: alpine/edge packages: - - curl # for webring update script + - curl # for webring update script, pre-installed on builds.sr.ht images - rsync - - git # for Hugo's gitInfo + - git # for Hugo's gitInfo, pre-installed on builds.sr.ht images - bmake sources: - https://git.sr.ht/~seirdy/seirdy.one diff --git a/Makefile b/Makefile index baa4ef5..46f9800 100644 --- a/Makefile +++ b/Makefile @@ -65,7 +65,7 @@ validate-html: .PHONY: htmlproofer htmlproofer: - htmlproofer $(OUTPUT_DIR) --disable-external --checks Images,Scripts,Favicon,OpenGraph --ignore-empty-alt=true --ignore-files $(OUTPUT_DIR)/search/index.html --enforce-https=false --ignore-urls '../music.txt' + htmlproofer $(OUTPUT_DIR) --disable-external --checks Images,Scripts,Favicon,OpenGraph --ignore-files $(OUTPUT_DIR)/search/index.html --ignore-urls '../music.txt' linter-configs/htmltest.yml: rsync $(RSYNCFLAGS) $(RSYNCFLAGS_EXTRA) deploy@seirdy.one:/home/deploy/refcache.json linter-configs/htmltest/refcache.json diff --git a/linter-configs/hintrc b/linter-configs/hintrc index f4630dd..b3496cf 100644 --- a/linter-configs/hintrc +++ b/linter-configs/hintrc @@ -67,6 +67,7 @@ "http-compression": "off", "https-only": "error", "sri": "error", + "detect-css-reflows": "off", "manifest-exists": "error", "manifest-file-extension": "error", "manifest-is-valid": "error",