-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
64 lines (60 loc) · 1.78 KB
/
.gitattributes
File metadata and controls
64 lines (60 loc) · 1.78 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
# -------------------------------------------------------------------
# Line endings
# Normalize all text files to LF on commit.
# Windows users will get CRLF on checkout via core.autocrlf.
# -------------------------------------------------------------------
* text=auto eol=lf
# Explicitly declare text files
*.md text eol=lf
*.txt text eol=lf
*.html text eol=lf
*.css text eol=lf
*.scss text eol=lf
*.js text eol=lf
*.ts text eol=lf
*.jsx text eol=lf
*.tsx text eol=lf
*.json text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.toml text eol=lf
*.ini text eol=lf
*.sh text eol=lf
*.py text eol=lf
*.rs text eol=lf
*.sql text eol=lf
*.csv text eol=lf
# Binary files — do not apply line-ending conversion
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.webp binary
*.ico binary
*.svg binary
*.woff binary
*.woff2 binary
*.ttf binary
*.otf binary
*.eot binary
*.pdf binary
*.zip binary
*.gz binary
# -------------------------------------------------------------------
# Diff drivers
# Improve readability of diffs for common formats
# -------------------------------------------------------------------
*.md diff=markdown
*.rs diff=rust
*.py diff=python
# -------------------------------------------------------------------
# Linguist overrides
# Prevent vendored or generated files from skewing repo language stats
# -------------------------------------------------------------------
dist/** linguist-generated=true
build/** linguist-generated=true
*.min.js linguist-generated=true
*.min.css linguist-generated=true
vendor/** linguist-vendored=true
docs/** linguist-documentation=true
*.md linguist-documentation=true