mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Patrick Kollitsch
13 hours ago 20c9d288bd5838e3f0a2b8a8d7cc615c0b93f08a
refs
author Patrick Kollitsch <davidsneighbourdev+gh@gmail.com>
Saturday, November 21, 2026 08:50 +0100
committer Patrick Kollitsch <davidsneighbourdev+gh@gmail.com>
Saturday, November 21, 2026 08:50 +0100
commit20c9d288bd5838e3f0a2b8a8d7cc615c0b93f08a
tree cd52b3344afdd920ff5ab287b5125afd621111b6 tree | zip | gz
parent 2e4287f40e90494dea5724213f0fe1b90a206d7d view | diff
ci(lint): lint configuration files and Markdown in CI

Add a lint job to the Theme tests workflow that runs `npm run lint`.
The lint script now also runs yamllint (`lint:yaml`) on all YAML files.

Make the repository pass the full lint run:

* add a project markdownlint config with proper nouns (Ananke, Hugo,
MIT License) and allow skills without a top-level heading
* ignore the old changelog and local PROJECT.md and TODO.md
* scope yamllint to YAML files, ignore generated folders, and allow
nested indentation in workflow shell scripts
* fix heading case, list style, Biome formatting, and quoted URLs

The pre-commit hook already lints only staged Markdown files through
lint-staged.

Closes #1021

Signed-off-by: Patrick Kollitsch <davidsneighbourdev+gh@gmail.com>
16 files modified
2 files added
151 ■■■■■ changed files
.agents/prompts/test-hugo-versions.prompt.md 2 ●●●●● diff | view | raw | blame | history
.agents/references/development.md 3 ●●●●● diff | view | raw | blame | history
.agents/skills/.markdownlint-cli2.jsonc 7 ●●●●● diff | view | raw | blame | history
.agents/skills/ananke-hugo-compatibility-testing/SKILL.md 1 ●●●●● diff | view | raw | blame | history
.github/ISSUE_TEMPLATE/bugs.md 10 ●●●●● diff | view | raw | blame | history
.github/ISSUE_TEMPLATE/config.yml 4 ●●●●● diff | view | raw | blame | history
.github/workflows/tests.yml 29 ●●●●● diff | view | raw | blame | history
.markdownlint-cli2.jsonc 11 ●●●●● diff | view | raw | blame | history
.markdownlintignore 3 ●●●●● diff | view | raw | blame | history
.vscode/settings.json 4 ●●●●● diff | view | raw | blame | history
.yamllint.yml 13 ●●●●● diff | view | raw | blame | history
CONTRIBUTING.md 8 ●●●●● diff | view | raw | blame | history
README.md 6 ●●●●● diff | view | raw | blame | history
RELEASES.md 12 ●●●●● diff | view | raw | blame | history
assets/ananke/css/_styles.css 5 ●●●●● diff | view | raw | blame | history
package.json 3 ●●●●● diff | view | raw | blame | history
scripts/synch-social-icons.md 26 ●●●●● diff | view | raw | blame | history
tests/catalog.yaml 4 ●●●●● diff | view | raw | blame | history