Update editorconfig

This commit is contained in:
Tobie Morgan Hitchcock 2016-10-01 20:18:38 +01:00
parent f2f72ccc40
commit 790e515a54
2 changed files with 14 additions and 23 deletions

View file

@ -2,24 +2,19 @@
# properties used in this file, please see the EditorConfig documentation:
# http://editorconfig.org/
# indicate this is the root of the project
root = true
[*]
charset = utf-8
end_of_line = LF
indent_size = 4
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true
[*.{yml,json}]
indent_size = 2
indent_style = space
indent_size = 4
[Makefile]
indent_style = tab
[*.md]
[*.{md,diff}]
trim_trailing_whitespace = false
[*.go]
indent_style = tab

View file

@ -1,24 +1,20 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
# EditorConfig coding styles definitions. For more information about the
# properties used in this file, please see the EditorConfig documentation:
# http://editorconfig.org/
root = true
[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = tab
end_of_line = LF
indent_size = 4
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true
[*.yml]
indent_style = space
[*.{yml,json}]
indent_size = 2
[*.json]
indent_style = space
indent_size = 2
[*.{diff,md}]
[*.{md,diff}]
trim_trailing_whitespace = false