From e7fd41c05e3f820eab8aee35c1fdbb72071f9bcb Mon Sep 17 00:00:00 2001 From: shimataro Date: Wed, 18 Sep 2019 22:53:46 +0900 Subject: [PATCH] * add .editorconfig (#4) --- .editorconfig | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..0d46254 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,37 @@ +# http://editorconfig.org/ +# https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties +root = true + + +# recommended settings; DO NOT CHANGE! +[*] +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + + +# common settings +[*] +indent_style = tab +indent_size = 4 +tab_width = 4 +max_line_length = off + +quote_type = double +curly_bracket_next_line = true +spaces_around_operators = true +spaces_around_brackets = none +indent_brace_style = allman + + +# JSON/YAML +[*.{json,babelrc,code-workspace,yml,yaml}] +indent_style = space +indent_size = 2 +tab_width = 2 + + +# markdown +[*.md] +indent_style = space