From cfad95144270bad3d1e7861747fc89dc9f5c733f Mon Sep 17 00:00:00 2001 From: Tsuda Kageyu Date: Mon, 20 Oct 2014 11:27:30 +0900 Subject: [PATCH] Use EditorConfig to help us stick to our coding style. http://editorconfig.org/ --- .editorconfig | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..32b8a7df --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ +# EditorConfig is awesome: http://EditorConfig.org + +# top-most EditorConfig file +root = true + +# Non-specified newlines with a newline ending every file +[*] +insert_final_newline = true + +# 2 space indentation +[*.{h,cpp,tcc,cmake}] +indent_style = space +indent_size = 2 + +# Trim traling whitespaces +[*.{h,cpp,tcc,cmake}] +trim_trailing_whitespace = true + +# UTF-8 without BOM +[*] +charset = utf-8