Add line-ending policy and renormalize to LF

This commit is contained in:
pleb
2026-07-01 20:47:58 -07:00
parent 7f0fcc8d20
commit 6af1b03c35
2 changed files with 35 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4
[*.{md,markdown}]
trim_trailing_whitespace = false
[*.{nix,yml,yaml}]
indent_size = 2
[Makefile]
indent_style = tab
+17
View File
@@ -0,0 +1,17 @@
# Normalize text files to LF in the repository.
* text=auto eol=lf
# Windows scripts should stay CRLF when present.
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
# Binary assets
*.dll binary
*.exe binary
*.gif binary
*.ico binary
*.jpeg binary
*.jpg binary
*.png binary
*.zip binary