fix: always use unix-style LF even in Windows

This commit is contained in:
Xiaohan-Tian
2026-05-15 13:50:39 -07:00
parent 93798fd377
commit 3110304197
2 changed files with 14 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
[*.{bat,cmd,ps1}]
end_of_line = crlf
+5
View File
@@ -0,0 +1,5 @@
* text=auto eol=lf
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf