From d8abf922b348d4128698c6e9cb425b06a2234936 Mon Sep 17 00:00:00 2001 From: jonpas Date: Sun, 11 Apr 2021 22:47:54 +0200 Subject: [PATCH] Add EditorConfig and set git LF line endings --- .editorconfig | 15 +++++++++++++++ .gitattributes | 1 + 2 files changed, 16 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitattributes diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..689f0f1 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +indent_style = space +indent_size = 4 +trim_trailing_whitespace = true + +[*.ld] +indent_size = 2 + +[*.md] +trim_trailing_whitespace = false diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..176a458 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto