From 4d56d1e77f706bf8da41214171ad57684274330e Mon Sep 17 00:00:00 2001 From: ineedbots Date: Thu, 9 Sep 2021 11:26:20 -0600 Subject: [PATCH] gitattr and editorconfig --- .editorconfig | 11 +++++++++++ .gitattributes | 1 + .gitignore | 4 +++- 3 files changed, 15 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 e22f102..061c078 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,11 @@ -# Ignore everything in repository root +# Ignore everything in repository root /* # Files to not ignore !/.gitignore !/.vscode +!/.editorconfig +!/.gitattributes !/z_server.bat !/README.md