-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
63 lines (57 loc) · 1.93 KB
/
.gitattributes
File metadata and controls
63 lines (57 loc) · 1.93 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
# GITATTRIBUTES
# https://github.com/alexkaratarakis/gitattributes/blob/master/Web.gitattributes
#
# details per file setting:
# binary: these files are binary and should be left untouched
# text: these files should be normalized (i.e. convert crlf to lf)
#
# note that binary is a macro for -text -diff.
# ------------------------------------------------------------------------------
# ------------------------------------------------------------------------------
# AUTO DETECT
# handle line endings automatically for files detected as text and leave files
# detected as binary untouched. this will catch all files not defined below.
# ------------------------------------------------------------------------------
* text=auto
# ------------------------------------------------------------------------------
# TEXT FILE ATTRIBUTES
# ------------------------------------------------------------------------------
*.cjs text eol=lf
*.css text eol=lf diff=css
*.html text eol=lf diff=html
*.json text eol=lf
*.md text eol=lf diff=markdown
*.mdx text eol=lf diff=markdown
*.sh text eol=lf
*.ts text eol=lf
*.tsx text eol=lf
*.txt text eol=lf
*.yml text eol=lf
# configuration files
# ------------------------------------------------------------------------------
*.*ignore text eol=lf
*.*rc text eol=lf
.editorconfig text eol=lf
.env* text eol=lf
.gitattributes text eol=lf
.gitconfig text eol=lf
package.json text eol=lf
yarn.lock text -diff
# ------------------------------------------------------------------------------
# BINARY FILE ATTRIBUTES
# ------------------------------------------------------------------------------
# fonts
# ------------------------------------------------------------------------------
*.eot binary
*.otf binary
*.ttf binary
*.woff binary
*.woff2 binary
# graphics
# ------------------------------------------------------------------------------
*.gif binary
*.gifv binary
*.jpeg binary
*.jpg binary
*.png binary
*.svg binary