From a15cccdb3864d4cb576a809ac580ec4742b48768 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 23 Aug 2018 16:02:16 +0200 Subject: [PATCH] add editorconfig --- common/.editorconfig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 common/.editorconfig diff --git a/common/.editorconfig b/common/.editorconfig new file mode 100644 index 000000000..7adb9d98b --- /dev/null +++ b/common/.editorconfig @@ -0,0 +1,17 @@ +# EditorConfig is awesome: http://EditorConfig.org + +# 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 +[{include,lib,tests}/**.{c,h,proto,cpp,hpp,h.in,hpp.in}] +charset = utf-8 +indent_style = tab +indent_size = 8 +trim_trailing_whitespace=true