From aa4c895c1e1374ee46669df8a9a224c18bf37376 Mon Sep 17 00:00:00 2001 From: damageboy <125730+damageboy@users.noreply.github.com> Date: Wed, 5 Jan 2022 12:51:57 +0200 Subject: [PATCH] add .editorconfig to ease contribution by external devs --- .editorconfig | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..4532a86 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,25 @@ +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*.{h,cpp}] +end_of_line = lf +indent_style = space +indent_size = 4 +insert_final_newline = true + +# Matches multiple files with brace expansion notation +# Set default charset +[*.json] +charset = utf-8 +end_of_line = lf +indent_style = space +indent_size = 4 +insert_final_newline = true + +# 4 space indentation +[CMakeLists.txt] +end_of_line = lf +indent_style = space +indent_size = 4 +insert_final_newline = true