ci(search.dig.net): add §2.4a Prettier format gate + strict lint (#1842) - #3
Merged
Conversation
…gate) Anchor for adding the §2.4a Prettier format gate + strict lint (#1042 child). Patch bump. Implementation follows. Co-Authored-By: Claude <noreply@anthropic.com>
Wire the §2.4a Prettier format gate (mirrors explore.dig.net #1823): .prettierrc/.prettierignore, format/format:check scripts, prettier + eslint-config-prettier devDeps, eslint-config-prettier as the last flat-config element, a format:check CI step before lint, and --max-warnings 0 on the lint script. Co-Authored-By: Claude <noreply@anthropic.com>
Mechanical `prettier --write .` pass to reach green under the new format:check gate — no behavior change. Co-Authored-By: Claude <noreply@anthropic.com>
MichaelTaylor3d
marked this pull request as ready for review
July 30, 2026 04:55
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task
Closes #1842 (child of epic #1042, the §2.4a Prettier-gate sweep). Adds the Prettier format gate + strict lint to search.dig.net. v0.1.2 → 0.1.3 (patch).
What changed
ab2e99a—.prettierrc(canonical house style, matches explore.dig.net: printWidth 100, double-quote, trailingComma all, semi, tabWidth 2) +.prettierignore;format/format:checkscripts +prettier^3/eslint-config-prettier^10 devDeps;eslint-config-prettierwired as the LAST config element ineslint.config.js; aformat (prettier)CI step beforelint; strict"lint": "eslint . --max-warnings 0".c5b3b35— one-timeprettier --write .sweep (38 files, formatting-only), isolated in its ownstyle:commit.Verification
Config diff is gate-wiring only; strict lint surfaced zero warnings (code was already clean). Full gate green:
format:checkclean,lint0/0,typecheckclean,build(tsc + vite + check-dist) OK,test:coverage52/52 at 98.74% lines / 92.18% branches (≥80%), andtest:a11y24/24 (WCAG 2.2 AA + SEO/agent-file + §6.7 version-exposure checks).Follow-up (out of scope):
npm installflags 9 pre-existing high-severity transitive vulns — candidate for a separate dependency-hardening ticket.Generated by Claude Code