mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-29 20:39:29 +00:00
style: enforce biome format across codebase, add CI check (#1794)
Run `biome format --write` on all 98 source files (38 needed fixes). The main change: object literals and long argument lists are now expanded onto separate lines per Biome's `"expand": "always"` setting, making code much easier to scan on narrow screens. Add `biome format` check step to CI lint workflow so formatting regressions are caught on every PR. Co-authored-by: Claude <claude@anthropic.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
86cae8ee32
commit
a26d27f139
40 changed files with 978 additions and 392 deletions
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
|
|
@ -50,6 +50,10 @@ jobs:
|
|||
working-directory: cli
|
||||
run: bun install
|
||||
|
||||
- name: Run Biome format check
|
||||
working-directory: cli
|
||||
run: bunx @biomejs/biome format src/
|
||||
|
||||
- name: Run Biome lint
|
||||
working-directory: cli
|
||||
run: bunx @biomejs/biome lint src/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue