From c92f9eacd36c947818c5f6ac73e6b1c0110d8d07 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sun, 12 Feb 2023 15:17:57 +0200 Subject: [PATCH] add minimal .{editorconfig,gitattributes} for line normalisation This may avoid unintentional changes if anyone uses Windows --- .editorconfig | 5 +++++ .gitattributes | 1 + 2 files changed, 6 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitattributes diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..6cd430c --- /dev/null +++ b/.editorconfig @@ -0,0 +1,5 @@ +root = true + +[*] +trim_trailing_whitespace = true +insert_final_newline = true diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..176a458 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto