forked from elizaOS/eliza
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
24 lines (23 loc) · 876 Bytes
/
Copy path.gitattributes
File metadata and controls
24 lines (23 loc) · 876 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
*.patch -text whitespace=-blank-at-eol
# Patch bytes are hashed (patches/CHECKSUMS.sha256) and applied verbatim by bun,
# so they must stay byte-identical across platforms — never let a Windows
# checkout (autocrlf) rewrite them to CRLF.
patches/CHECKSUMS.sha256 -text
# Source files must check out with LF everywhere: Windows runners default to
# core.autocrlf=true, and a CRLF checkout makes vitest's transform pipeline
# reject otherwise-valid modules ("SyntaxError: Invalid or unexpected token"
# at collection — reproduced by CRLF-converting run-mobile-build.mjs on
# Linux). Biome also formats LF-only, so CRLF working copies churn
# format:check.
*.mjs text eol=lf
*.cjs text eol=lf
*.js text eol=lf
*.jsx text eol=lf
*.ts text eol=lf
*.tsx text eol=lf
*.mts text eol=lf
*.cts text eol=lf
*.json text eol=lf
*.java text eol=lf
*.yml text eol=lf
*.yaml text eol=lf