Skip to content

ci(search.dig.net): add §2.4a Prettier format gate + strict lint (#1842) - #3

Merged
MichaelTaylor3d merged 3 commits into
mainfrom
ci/1842-prettier-gate
Jul 30, 2026
Merged

ci(search.dig.net): add §2.4a Prettier format gate + strict lint (#1842)#3
MichaelTaylor3d merged 3 commits into
mainfrom
ci/1842-prettier-gate

Conversation

@MichaelTaylor3d

@MichaelTaylor3d MichaelTaylor3d commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

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:check scripts + prettier^3/eslint-config-prettier^10 devDeps; eslint-config-prettier wired as the LAST config element in eslint.config.js; a format (prettier) CI step before lint; strict "lint": "eslint . --max-warnings 0".
  • c5b3b35 — one-time prettier --write . sweep (38 files, formatting-only), isolated in its own style: commit.

Verification

Config diff is gate-wiring only; strict lint surfaced zero warnings (code was already clean). Full gate green: format:check clean, lint 0/0, typecheck clean, build (tsc + vite + check-dist) OK, test:coverage 52/52 at 98.74% lines / 92.18% branches (≥80%), and test:a11y 24/24 (WCAG 2.2 AA + SEO/agent-file + §6.7 version-exposure checks).

Follow-up (out of scope): npm install flags 9 pre-existing high-severity transitive vulns — candidate for a separate dependency-hardening ticket.


Generated by Claude Code

MichaelTaylor3d and others added 3 commits July 30, 2026 04:47
…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
MichaelTaylor3d marked this pull request as ready for review July 30, 2026 04:55
@MichaelTaylor3d
MichaelTaylor3d merged commit be62558 into main Jul 30, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant