diff --git a/tests/.gitattributes b/tests/.gitattributes index 2cab29b4..ed47e9f2 100644 --- a/tests/.gitattributes +++ b/tests/.gitattributes @@ -1,3 +1,11 @@ +# force LF EOLs for test fixtures +examples/** text=auto eol=lf +snapshots/** text=auto eol=lf + +# BAT/CMD files always need CRLF EOLs +*.[Bb][Aa][Tt] text eol=crlf +*.[Cc][Mm][Dd] text eol=crlf + examples/* linguist-vendored snapshots/* linguist-vendored benchmarks/* linguist-vendored