-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitattributes
42 lines (42 loc) · 1.47 KB
/
.gitattributes
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
* text=auto
*.cmd text eol=crlf
*.bat text eol=crlf
*.txt text eol=lf
*.toml text eol=lf
*.sql text eol=lf
*.json text eol=lf filter=tabspace
*.sh text eol=lf
*.php text eol=lf filter=spaceonly
*.ts text eol=lf filter=tabspace
*.css text eol=lf filter=tabspace
*.scss text eol=lf filter=tabspace
*.js text eol=lf filter=tabspace
*.cjs text eol=lf filter=tabspace
*.java text eol=lf filter=tabspace
*.kt text eol=lf filter=tabspace
pre-commit text eol=lf
post-commit text eol=lf
# xml and html are almost always tabsize 2.
*.xml text eol=lf filter=tabspace2
*.html text eol=lf filter=tabspace2
# python is iffy. Not sure if it should be spaceonly or tabspace.
*.py text eol=lf filter=spaceonly
*.spaceonly text eol=lf filter=spaceonly
# following types should always be edited as spaces, because of other IDE/toolchain dependencies.
*.csproj text eol=crlf filter=spaceonly
*.props text eol=crlf filter=spaceonly
*.vcxproj text eol=crlf filter=spaceonly
# images
*.png binary diff
*.jpg binary diff
*.ico binary diff
*.pdf binary diff
*.ttf binary diff
*.woff binary diff
*.woff2 binary diff
*.otf binary diff
*.mmdb filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.rar filter=lfs diff=lfs merge=lfs -text
*.sqlite filter=lfs diff=lfs merge=lfs -text
.husky/hash.txt text eol=lf merge=ours