diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..2503309 --- /dev/null +++ b/.editorconfig @@ -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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..33e2306 --- /dev/null +++ b/.gitattributes @@ -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