From d38cb31b987f66320d409d20bd7b84d22addfd2d Mon Sep 17 00:00:00 2001 From: Joris Goosen Date: Thu, 1 Oct 2020 17:28:22 +0200 Subject: [PATCH] Add .editorconfig to make files look good on GitHub --- .editorconfig | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..9c60a4c2 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,22 @@ + + +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true + +# Matches multiple files with brace expansion notation +# Set default charset +[*] +charset = utf-8 + +[*.{cpp,h,qml,json,md}] +indent_style = tab +indent_size = 4 + +[*.R] +indent_style = space +indent_size = 2