Skip to content

Commit 61e1537

Browse files
author
engalar
committed
Add .gitattributes to ensure consistent line endings across platforms
1 parent 83c6492 commit 61e1537

1 file changed

Lines changed: 53 additions & 0 deletions

File tree

.gitattributes

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
4+
# Source code
5+
*.go text eol=lf
6+
*.md text eol=lf
7+
*.json text eol=lf
8+
*.yml text eol=lf
9+
*.yaml text eol=lf
10+
*.toml text eol=lf
11+
*.sh text eol=lf
12+
*.bash text eol=lf
13+
*.star text eol=lf
14+
*.mdl text eol=lf
15+
*.txt text eol=lf
16+
17+
# TypeScript/JavaScript
18+
*.ts text eol=lf
19+
*.js text eol=lf
20+
*.tsx text eol=lf
21+
*.jsx text eol=lf
22+
23+
# ANTLR4 grammar
24+
*.g4 text eol=lf
25+
*.java text eol=lf
26+
27+
# Makefiles
28+
Makefile text eol=lf
29+
*.mk text eol=lf
30+
31+
# Docker
32+
Dockerfile text eol=lf
33+
*.dockerignore text eol=lf
34+
35+
# Git
36+
.gitignore text eol=lf
37+
.gitattributes text eol=lf
38+
39+
# Documentation
40+
*.typ text eol=lf
41+
42+
# Binary files
43+
*.mpr binary
44+
*.mpk binary
45+
*.png binary
46+
*.jpg binary
47+
*.jpeg binary
48+
*.gif binary
49+
*.svg binary
50+
*.ico binary
51+
*.vsix binary
52+
*.cdx.json binary
53+
bun.lock binary

0 commit comments

Comments
 (0)