From c1fd733bfab5c450e67d06e12fdb43f6dfa0f42d Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Thu, 16 Jun 2016 12:43:57 -0300 Subject: [PATCH] Adds editorconfig --- .editorconfig | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..84fcf5729 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,30 @@ +# EditorConfig helps developers define and maintain consistent +# coding styles between different editors and IDEs +# http://editorconfig.org + +## Plugins +# Atom (https://github.com/sindresorhus/atom-editorconfig) +# Vim (https://github.com/editorconfig/editorconfig-vim) +# Sublime (https://github.com/sindresorhus/editorconfig-sublime) +; + +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +indent_style = space +indent_size = 2 + +[*.md] +trim_trailing_whitespace = false + +[Makefile] +indent_style = tab + +[**.html] +max_char = 78 +brace_style = expand +