From 2074ab86119d9458da19ec242b329da98fd8756e Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Fri, 17 Feb 2023 15:10:42 +0200 Subject: [PATCH] add .editorconfig & .gitattributes --- .editorconfig | 16 ++++++++++++++++ .gitattributes | 1 + 2 files changed, 17 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitattributes diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..40ae7de --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +root = true + +[*] +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true +charset = utf-8 +indent_style = tab +indent_size = tab + +[*.{markdown,md}] +trim_trailing_whitespace = false + +[*.{cff,yaml,yml}] +indent_style = space +indent_size = 2 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..50023d5 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf linguist-detectable