Skip to content

Commit 2367d09

Browse files
Add .gitattributes to enforce LF line endings
This will allow csharpier to format files the same way on Windows and Mac
1 parent a0d7085 commit 2367d09

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Normalize all text files to LF line endings regardless of local core.autocrlf,
2+
# so csharpier (and diffs) aren't thrown off by CRLF checkouts on Windows.
3+
* text=auto eol=lf

0 commit comments

Comments
 (0)