We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8b9a71 commit 3456ee5Copy full SHA for 3456ee5
.gitattributes
@@ -0,0 +1,13 @@
1
+# With auto, Git converts line endings for newly added files it determines to
2
+# be text to LF (never CRLF). The !eol directive overrides a user-set eol
3
+# directive that would have conflicted with auto, effectively making
4
+# .gitattributes the sole authority.
5
+# https://www.reddit.com/r/git/comments/6qmfbo/
6
+
7
8
+* text=auto !eol
9
10
+package-lock.json text eol=lf diff=nodiff
11
+yarn.lock text eol=lf diff=nodiff
12
+pnpm-lock.yaml text eol=lf diff=nodiff
13
+*.lockb binary diff=nodiff
0 commit comments