Skip to content
This repository was archived by the owner on May 28, 2026. It is now read-only.
This repository was archived by the owner on May 28, 2026. It is now read-only.

Lint fails on Windows: CRLF line endings vs Biome default LF (biome check) #145

Description

@pbolduc

Steps to reproduce

bun run lint (biome check .) fails on Windows with hundreds of formatter diagnostics. The first reported diff is not about indentation (tabs vs spaces); it shows files using CRLF (\r\n) while Biome’s formatter output uses LF (\n) only. This creates a large Formatter would have printed the following content mismatch across the repo.

Proposed solution: .gitattribute

Because the maintainers run on MacOS/Linux, enforcing LF at the Git layer fits the canonical line ending for the project and avoids per-OS drift:
Add a .gitattributes that normalizes text files to LF in the repo,

  • text=auto eol=lf

Expected behavior

Clean checkout and running bun run lint on Windows, MacOS or Linux should be successful.

Actual behavior

On Windows bun run lint returns numerous linting errors.

overstory version

0.9.3

Bun version

1.3.12

Operating system

Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:infrastructureHooks, guard rules, worktree management, CLI frameworkbugSomething isn't workingdifficulty:starterGood first issue, well-scoped, minimal context neededfocus:windowsWindows/WSL2 support (mprocs, psmux, SessionBackend abstraction)priority:mediumUseful but not urgent, well-scoped

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions