Repository navigation
Expand file tree
/
Copy path.gitattributes
More file actions
64 lines (56 loc) · 1.54 KB
/
Copy path.gitattributes
File metadata and controls
64 lines (56 loc) · 1.54 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
58
59
60
61
62
63
64
# Normalize all text files to LF in the repository.
# This eliminates CRLF drift on Windows (core.autocrlf=true) so that
# `npm run generate` never produces spurious line-ending diffs.
# Default: auto-detect text files and normalize to LF on checkout.
* text=auto eol=lf
# --- Source code ---
*.py text eol=lf
*.ts text eol=lf
*.tsx text eol=lf
*.js text eol=lf
*.mjs text eol=lf
*.rs text eol=lf
*.go text eol=lf
*.cs text eol=lf
*.tsp text eol=lf
*.astro text eol=lf
*.css text eol=lf
*.html text eol=lf
# --- Config / data ---
*.json text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.toml text eol=lf
*.md text eol=lf
*.mdx text eol=lf
*.txt text eol=lf
*.prompty text eol=lf
*.cfg text eol=lf
*.conf text eol=lf
*.mod text eol=lf
*.sum text eol=lf
# --- Project files ---
*.csproj text eol=lf
*.sln text eol=lf
*.ps1 text eol=lf
*.bat text eol=lf
# --- Dotfiles (no extension — treat as text) ---
.gitignore text eol=lf
.gitattributes text eol=lf
.dockerignore text eol=lf
.vscodeignore text eol=lf
.babelrc text eol=lf
.example text eol=lf
Dockerfile text eol=lf
# --- Truly binary files --- keep as-is
*.png binary
*.exe binary
*.svg text eol=lf
# --- Lock files: text but don't diff ---
*.lock text eol=lf -diff
package-lock.json text eol=lf -diff
Cargo.lock text eol=lf -diff
# --- Generated marker (no content) ---
*.typed text eol=lf
*.tsbuildinfo text eol=lf
*.tracy text eol=lf