-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitattributes
88 lines (73 loc) · 1.57 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# Set default behavior to automatically normalize line endings.
* text=auto eol=lf
# Force batch scripts to always use CRLF line endings so that if a repo is accessed
# in Windows via a file share from Linux, the scripts will work.
*.{cmd,[cC][mM][dD]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf
# Force bash scripts to always use LF line endings so that if a repo is accessed
# in Unix via a file share from Windows, the scripts will work.
*.sh text eol=lf
# npm specific files
package.json text eol=lf
package-lock.json text eol=lf
# Archives
*.7z binary
*.gz binary
*.jar binary
*.rar binary
*.tar binary
*.zip binary
# Text files where line endings should be preserved
*.patch -text
# Exclude files from exporting
.gitattributes export-ignore
.gitignore export-ignore
# Basic .gitattributes for a Node.js / Next.js project.
# Source code
*.sh text eol=lf
*.js text eol=lf
*.jsx text eol=lf
*.ts text eol=lf
*.tsx text eol=lf
*.json text eol=lf
*.css text eol=lf
*.scss text eol=lf
*.html text eol=lf
*.md text eol=lf
*.mdx text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
# Documentation
*.txt text eol=lf
*.md text eol=lf
LICENSE text eol=lf
# Templates
*.tpl text eol=lf
*.tmpl text eol=lf
# Configs
.env text eol=lf
.gitconfig text eol=lf
.prettierrc text eol=lf
.eslintrc text eol=lf
.babelrc text eol=lf
*.toml text eol=lf
*.ini text eol=lf
# Graphics
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.svg text
# Audio
*.mp3 binary
*.wav binary
# Video
*.mp4 binary
*.webm binary
# Fonts
*.ttf binary
*.eot binary
*.otf binary
*.woff binary
*.woff2 binary