From 9cff3696e226b6f054cf66880dc9c97f608bfadc Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 8 Jun 2023 18:07:59 +0000 Subject: [PATCH] Add .editorconfig and .gitattributes (#29) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Every repo needs these files 😉 Reviewed-on: https://gitea.com/gitea/gitea-docusaurus/pulls/29 Co-authored-by: silverwind Co-committed-by: silverwind --- .editorconfig | 13 +++++++++++++ .gitattributes | 1 + 2 files changed, 14 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitattributes diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..85aa1db --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +root = true + +[*] +indent_style = space +indent_size = 2 +tab_width = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[Makefile] +indent_style = tab diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..6313b56 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf