forked from npm/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitattributes
28 lines (22 loc) · 899 Bytes
/
.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
# normalize all line endings by default
* text=auto
# our shell/bin scripts always need to be LF
/bin/* text eol=lf
/workspaces/arborist/bin/index.js text eol=lf
/configure text eol=lf
# our cmd scripts always need to be CRLF
/bin/**/*.cmd text eol=crlf
# ignore all line endings in node_modules since we dont control that
/node_modules/** -text
# the files we write should be LF so they can be generated cross platform
/node_modules/.gitignore text eol=lf
/workspaces/arborist/test/fixtures/.gitignore text eol=lf
/DEPENDENCIES.md text eol=lf
/DEPENDENCIES.json text eol=lf
/AUTHORS text eol=lf
# fixture tarballs should be treated as binary
/workspaces/*/test/fixtures/**/*.tgz binary
# these hint to GitHub to show these files as not generated so they default to
# showing the full diff in pull requests
/node_modules/** linguist-generated=false
/package-lock.json linguist-generated=false