dev: ensure line ending is always LF

This commit is contained in:
shenlebantongying 2024-08-28 00:47:42 -04:00 committed by shenleban tongying
parent fc3ea0045e
commit a7593fca1d
3 changed files with 6 additions and 2 deletions

5
.editorconfig Normal file
View file

@ -0,0 +1,5 @@
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true

1
.gitattributes vendored Normal file
View file

@ -0,0 +1 @@
* text=auto eol=lf

2
.gitignore vendored
View file

@ -21,8 +21,6 @@ object_script.goldendict.Release
version.txt
.gitattributes
*.dmg
.DS_Store