From 2ad21aa3ca2ca086146b60bad6cd376e46bacd83 Mon Sep 17 00:00:00 2001 From: "v.karaychentsev" <105486287+vk-aterise@users.noreply.github.com> Date: Wed, 11 Feb 2026 11:19:06 +0300 Subject: [PATCH] configure git repo to avoid crlf / bom issues --- .editorconfig | 10 ++++++++++ .gitattributes | 23 +++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitattributes diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..521afc9 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,10 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.md] +trim_trailing_whitespace = false diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..4496fb1 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +* text=auto eol=lf + +*.md text eol=lf +*.yml text eol=lf +*.yaml text eol=lf +*.env text eol=lf +*.sh text eol=lf + +*.bat text eol=crlf +*.cmd text eol=crlf + +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.pdf binary +*.zip binary +*.gz binary +*.7z binary +*.exe binary +*.dll binary +*.so binary +*.dylib binary