From b8ac09ef7e0d9d01e6ecc28d44d335b49bcbc288 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Wed, 1 Jul 2026 16:11:41 -0400 Subject: [PATCH] [lint] Exclude the four live/shorts plan docs from the hex-color check check-hex.js flagged planning-doc TODO refs like "**#16c**" / "**#16b**" as 3-digit hex colors (16c, 16b are valid hex), breaking `npm run lint` on HEAD. Same false positive docs/capacitor-native-app-plan.md was already excluded for. Add shorts-plan / live-ingest-plan / live-publish-plan / bitvid-bridge-plan. Co-Authored-By: Claude Opus 4.8 --- scripts/check-hex.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/check-hex.js b/scripts/check-hex.js index c79df5ae..14cffbd4 100755 --- a/scripts/check-hex.js +++ b/scripts/check-hex.js @@ -36,6 +36,11 @@ const IGNORED_GLOBS = [ 'bitvid-working-webtorrent/**', 'scripts/agent/**', 'docs/capacitor-native-app-plan.md', + // Planning docs cite TODO/issue refs (e.g. "16c", "16b") that read as 3-digit hex. + 'docs/shorts-plan.md', + 'docs/live-ingest-plan.md', + 'docs/live-publish-plan.md', + 'docs/bitvid-bridge-plan.md', 'perf/**', 'test_logs/**', 'context/**',