Update editorconfig
This commit is contained in:
parent
f2f72ccc40
commit
790e515a54
2 changed files with 14 additions and 23 deletions
|
@ -2,24 +2,19 @@
|
||||||
# properties used in this file, please see the EditorConfig documentation:
|
# properties used in this file, please see the EditorConfig documentation:
|
||||||
# http://editorconfig.org/
|
# http://editorconfig.org/
|
||||||
|
|
||||||
# indicate this is the root of the project
|
|
||||||
root = true
|
root = true
|
||||||
|
|
||||||
[*]
|
[*]
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
|
|
||||||
end_of_line = LF
|
end_of_line = LF
|
||||||
|
indent_size = 4
|
||||||
|
indent_style = tab
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[*.{yml,json}]
|
||||||
|
indent_size = 2
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 4
|
|
||||||
|
|
||||||
[Makefile]
|
[*.{md,diff}]
|
||||||
indent_style = tab
|
|
||||||
|
|
||||||
[*.md]
|
|
||||||
trim_trailing_whitespace = false
|
trim_trailing_whitespace = false
|
||||||
|
|
||||||
[*.go]
|
|
||||||
indent_style = tab
|
|
|
@ -1,24 +1,20 @@
|
||||||
# EditorConfig helps developers define and maintain consistent
|
# EditorConfig coding styles definitions. For more information about the
|
||||||
# coding styles between different editors and IDEs
|
# properties used in this file, please see the EditorConfig documentation:
|
||||||
# editorconfig.org
|
# http://editorconfig.org/
|
||||||
|
|
||||||
root = true
|
root = true
|
||||||
|
|
||||||
[*]
|
[*]
|
||||||
end_of_line = lf
|
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
trim_trailing_whitespace = true
|
end_of_line = LF
|
||||||
insert_final_newline = true
|
|
||||||
indent_style = tab
|
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
|
indent_style = tab
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
[*.yml]
|
[*.{yml,json}]
|
||||||
indent_style = space
|
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
|
||||||
[*.json]
|
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 2
|
|
||||||
|
|
||||||
[*.{diff,md}]
|
[*.{md,diff}]
|
||||||
trim_trailing_whitespace = false
|
trim_trailing_whitespace = false
|
||||||
|
|
Loading…
Reference in a new issue