Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Normalise line endings to LF in the working tree.
#
# Git hands Windows checkouts CRLF by default, which diverges from what
# everything else here already assumes: biome.json sets "lineEnding": "lf",
# and CI checks out LF. That gap caused a real failure. The README scan in
# test/public-exports.spec.ts anchored its code-fence regex on \n, so on a
# CRLF clone it matched nothing and two export checks passed over an empty
# document while looking green.
#
# PR #990 fixed that parse to read either ending. This stops the divergence
# at the source, for every file rather than the one that happened to break.
* text=auto eol=lf

# The only binary file tracked today. text=auto already detects it, but being
# explicit keeps that true if more images are added.
*.png binary