Make script/lint fail on any Hugo warning (closes #25) #46

Merged
clawbot merged 1 commits from issue-25-lint-fails-on-warnings into next 2026-10-21 15:06:17 +02:00
1 Commits
Author SHA1 Message Date
sneak 831ae99663 Make script/lint fail on any Hugo warning (closes #25)
check / check (push) Canceled after 0s
The lint step in Dockerfile.lint now passes --panicOnWarning alongside
--printPathWarnings. Until now Hugo printed "Duplicate target paths"
when two pages wrote the same output file and still exited 0, so the
lint passed while one page was silently lost. The flag turns that
warning, and every other Hugo warning, into a failed lint.

script/test and the deploy build are unchanged. The comments in
Dockerfile.lint, script/lint and script/check, the README entry for
script/lint, and TODO.md now describe the stricter lint.

Model: opus-5-5
2026-10-21 12:49:36 +00:00