From 544c3f4caa39aa9cf964a0c869876a21871c2cac Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Wed, 21 Feb 2018 01:26:02 +0800 Subject: [PATCH] [New] Add EditorConfig to help maintain part of coding style --- .editorconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..32de192 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +root = true + +[*] +tab_width = 2 +indent_size = 2 +charset = utf-8 +end_of_line = lf +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + +[*.txt] +indent_size = false + +[Makefile] +indent_style = tab