Skip to content

Commit 6e9c07e

Browse files
committed
chore: add .gitattributes for linguist and line endings
Normalize LF endings across platforms and mark lockfiles, Expo prebuild output, and build artifacts as generated so GitHub's language bar reflects hand-written TypeScript instead of ios/ and android/ scaffolding.
1 parent 5dfc30a commit 6e9c07e

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.gitattributes

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Normalize line endings
2+
* text=auto eol=lf
3+
4+
# Mark auto-generated and lock files so they don't skew the GitHub language bar
5+
bun.lock linguist-generated
6+
*.lock linguist-generated
7+
**/dist/** linguist-generated
8+
**/.turbo/** linguist-generated
9+
**/.output/** linguist-generated
10+
**/.tanstack/** linguist-generated
11+
**/.vinxi/** linguist-generated
12+
**/node_modules/** linguist-vendored
13+
14+
# Expo prebuild output — regenerated from app.config, not handwritten
15+
apps/mobile/ios/** linguist-generated
16+
apps/mobile/android/** linguist-generated
17+
18+
# Treat common binary assets correctly
19+
*.png binary
20+
*.jpg binary
21+
*.jpeg binary
22+
*.gif binary
23+
*.ico binary
24+
*.webp binary
25+
*.ttf binary
26+
*.otf binary

0 commit comments

Comments
 (0)