-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
57 lines (50 loc) · 2.13 KB
/
Copy path.gitattributes
File metadata and controls
57 lines (50 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# ─── Default: normalize line endings to LF in the repo ───────────────────────
* text=auto eol=lf
# ─── Go ───────────────────────────────────────────────────────────────────────
*.go text eol=lf
go.mod text eol=lf
go.sum text eol=lf
# ─── TypeScript / JavaScript ──────────────────────────────────────────────────
*.ts text eol=lf
*.tsx text eol=lf
*.js text eol=lf
*.jsx text eol=lf
*.mjs text eol=lf
*.cjs text eol=lf
# ─── Web / Config ─────────────────────────────────────────────────────────────
*.html text eol=lf
*.css text eol=lf
*.scss text eol=lf
*.json text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.toml text eol=lf
# ─── Docs / Scripts ───────────────────────────────────────────────────────────
*.md text eol=lf
*.sh text eol=lf
Makefile text eol=lf
# ─── Windows scripts keep CRLF (required by cmd.exe) ─────────────────────────
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
# ─── Binary — never diff or mangle ───────────────────────────────────────────
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.svg text eol=lf
*.woff binary
*.woff2 binary
*.ttf binary
*.otf binary
*.eot binary
*.psd binary
*.ai binary
*.pdf binary
*.zip binary
*.tar.gz binary
*.db binary
*.sqlite binary
# ─── Diff drivers ─────────────────────────────────────────────────────────────
*.go diff=golang