Skip to content

chore: restore clean biome baseline#108

Merged
f-amine merged 1 commit into
masterfrom
chore/lint-baseline-clean
Jun 29, 2026
Merged

chore: restore clean biome baseline#108
f-amine merged 1 commit into
masterfrom
chore/lint-baseline-clean

Conversation

@f-amine

@f-amine f-amine commented Jun 29, 2026

Copy link
Copy Markdown
Owner

What

biome check . had 6 errors on master. Biome is not a CI gate (no biome step in .github/workflows), so the lint baseline silently drifted while PRs stayed green.

Changes

  • admin/proxy.ts — build WEB_SIGN_IN with a template literal, and only use the NEXT_PUBLIC_APP_URL branch when it's actually set. Latent bug: when unset, undefined + "/sign-in" evaluated to the truthy string "undefined/sign-in", so the localhost:3001 fallback could never fire.
  • seo/json-ld.tsx — remove an unused noDangerouslySetInnerHtml suppression.
  • biome.json — ignore .agents (vendored skills), **/migrations/meta (drizzle-generated), and skills-lock.json, matching the existing .claude / .ruflo ignores.

Result

pnpm exec biome check . exits 0 (warnings/infos only). Typecheck still green.

Follow-ups (not in this PR)

  • Add biome check as a CI gate so the baseline can't drift again (touches .github/workflows, flagged for human review).
  • ~70 stale remote branches from earlier autonomous runs (mostly squash-merged) could be pruned.

🤖 Generated with Claude Code

biome check had 6 errors on master (CI never gated on it, so the baseline
drifted). Fix the two real source issues and stop linting vendored/generated
trees:

- admin/proxy.ts: build WEB_SIGN_IN with a template literal, and only take the
  APP_URL branch when it is set. Previously `undefined + "/sign-in"` produced a
  truthy "undefined/sign-in", so the localhost fallback never fired.
- seo/json-ld.tsx: drop the unused noDangerouslySetInnerHtml suppression.
- biome.json: ignore .agents (vendored skills), drizzle migrations/meta, and
  skills-lock.json, matching the existing .claude/.ruflo ignores.

biome check now exits clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@f-amine f-amine merged commit f3c0495 into master Jun 29, 2026
3 checks passed
@f-amine f-amine deleted the chore/lint-baseline-clean branch June 29, 2026 10:58
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