From f7816d351c71d09c25430ea7cd2abbb6b48214de Mon Sep 17 00:00:00 2001 From: ineedbots Date: Thu, 9 Sep 2021 11:27:04 -0600 Subject: [PATCH] editorconfig and gitattr --- .editorconfig | 11 +++++++++++ .gitattributes | 1 + .gitignore | 5 ++++- 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .editorconfig create mode 100644 .gitattributes diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..bb97c78 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,11 @@ +root = true + +[*] +indent_style = tab +indent_size = 2 +charset = latin1 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..de71cf3 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.gsc linguist-language=C diff --git a/.gitignore b/.gitignore index 9ad68fe..6a28df5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,12 @@ -# Ignore everything in repository root +# Ignore everything in repository root /* # Files to not ignore !/.vscode !/.gitignore +!/.editorconfig +!/.gitattributes + !/z_server.bat !/z_server_pvbrust.bat !/z_server_pvbvote.bat