From cf60c6c7288d072397f481156bea748ddc9b14c9 Mon Sep 17 00:00:00 2001 From: Andrey Popp <8mayday@gmail.com> Date: Sat, 21 Mar 2015 17:06:39 +0800 Subject: [PATCH] Add .editorconfig 4 spaces is unusual style, let it be configured via .editorconfig automatically. --- .editorconfig | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..6a3da62 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +# http://editorconfig.org +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_style = space +indent_size = 4 +max_line_length = 120 +trim_trailing_whitespace = true + +[COMMIT_EDITMSG] +max_line_length = 80