forked from yarnpkg/berry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitattributes
19 lines (15 loc) · 792 Bytes
/
.gitattributes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# This line does two things:
# - enable git's CRLF -> LF modification
# - tell git to guess whether files are text or binary
* text=auto
# Mark .pnp.js as binary to prevent git from trying to merge it
/.pnp.js 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
/docs/** linguist-documentation
# Mark built javascript binaries as generated
# Without this, the repo is marked as >90% javascript, while most code is actually typescript
/packages/*/bin/**/*.js linguist-generated
/packages/*/lib/*.js linguist-generated