From aefde05389c9d6263f7bcb316736449a56298bda Mon Sep 17 00:00:00 2001 From: redtide Date: Sat, 1 Jul 2023 12:35:38 +0200 Subject: [PATCH] Added .editorconfig and .clang-format --- .clang-format | 4 ++++ .editorconfig | 14 ++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 .clang-format create mode 100644 .editorconfig diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..912692d --- /dev/null +++ b/.clang-format @@ -0,0 +1,4 @@ +--- +IndentWidth: '2' + +... diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..b4e2598 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +# EditorConfig configuration +# http://editorconfig.org + +# Top-most EditorConfig file +root = true + +# UTF-8 charset, set indent to spaces with width of four, +# with no trailing whitespaces and a newline ending every file. +[*] +charset = utf-8 +indent_size = 2 +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true