-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitattributes
22 lines (17 loc) · 938 Bytes
/
.gitattributes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# This line does two things:
# - forces git to use LF
# - tell git to guess whether files are text or binary
* 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
# Mark generated files as binary to prevent git from trying to merge them
/.pnp.* binary linguist-generated
# Set the language for these files to json5 to ensure GitHub doesn't show the comments as errors
/.vscode/*.json linguist-language=JSON5
# Hide .yarn and docs from GitHub's language detection
/.yarn/** linguist-vendored