Add a CI check for unused settings (#34105)

* Add unused settings script

* Run in CI

* Remove unused settings sans topic html

* Report as annotations

* Cleanup script
This commit is contained in:
Will Hunt
2026-07-02 17:59:27 +00:00
committed by GitHub
parent bb53d0c6b3
commit 588a8a6fcf
4 changed files with 231 additions and 18 deletions
+1
View File
@@ -18,6 +18,7 @@
"lint:fmt-fix": "oxfmt",
"lint:workflows": "find .github/workflows -type f \\( -iname '*.yaml' -o -iname '*.yml' \\) -print -exec action-validator {} ';'",
"lint:knip": "knip --no-tag-hints && knip --strict --exclude unlisted,dependencies,binaries",
"lint:unused-settings": "node scripts/find-unused-settings.ts",
"install:git-hooks": "husky",
"postinstall": "node scripts/pnpm-link.ts && pnpm run -r sane-postinstall",
"docs:dev": "vitepress dev docs",