Skip to content

Add Biome linting, formatting, and CI quality checks#1

Merged
baptistelaget merged 3 commits into
mainfrom
develop
Feb 15, 2026
Merged

Add Biome linting, formatting, and CI quality checks#1
baptistelaget merged 3 commits into
mainfrom
develop

Conversation

@baptistelaget
Copy link
Copy Markdown
Contributor

Summary

  • Biome v2 configured for linting, formatting, and import organization across all TypeScript, Vue, and JSON source files
  • 8 new scripts in package.json: lint, lint:fix, format, format:check, check, check:fix, typecheck, check:docs
  • Schema documentation checker (scripts/check-schema-docs.ts) that verifies every type and property has JSDoc descriptions
  • CI workflow (.github/workflows/ci.yml) runs Biome check, TypeScript type check, and schema docs completeness on PRs and pushes to main
  • One-time format pass applied across the codebase to establish a clean baseline

Key design decisions

  • Allowlist approach in files.includes — only processes source files, not generated output
  • Vue override disables noUnusedVariables for .vue files since Biome can't track template references
  • Scripts override disables noExplicitAny for scripts/ where generation scripts legitimately cast JSON schema objects
  • useImportType / useExportType enforced — critical for a types-only package
  • node: protocol applied to all Node.js builtin imports

Test plan

  • pnpm run check — 0 issues across 41 files
  • pnpm run typecheck — passes
  • pnpm run check:docs — all schema types and properties documented
  • pnpm run docs:build — builds successfully

🤖 Generated with Claude Code

@github-actions
Copy link
Copy Markdown

Preview deployed!
https://1-pr-preview.bind-standard.org

@baptistelaget baptistelaget merged commit e8e884d into main Feb 15, 2026
5 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