support consistent coding style across users

If the user adds an editorconfig plugin to their editor or IDE,
editorconfig auto-applies the correct coding style.
This commit is contained in:
Paul Morgan 2014-01-20 22:26:16 +00:00
Родитель 3dc170b323
Коммит 3144ab09e2
1 изменённых файлов: 14 добавлений и 0 удалений

14
.editorconfig Normal file
Просмотреть файл

@ -0,0 +1,14 @@
; This file is for unifying the coding style for different editors and IDEs.
; Plugins are available for notepad++, emacs, vim, gedit,
; textmate, visual studio, and more.
;
; See http://editorconfig.org for details.
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true