2017-02-03 21:15:28 +03:00
|
|
|
# EditorConfig is awesome:http://EditorConfig.org
|
2017-01-13 20:52:32 +03:00
|
|
|
|
2017-02-03 21:15:28 +03:00
|
|
|
# top-most EditorConfig file
|
2017-01-13 20:52:32 +03:00
|
|
|
root = true
|
|
|
|
|
|
|
|
[*]
|
|
|
|
indent_style = space
|
|
|
|
charset = utf-8
|
|
|
|
trim_trailing_whitespace = true
|
2017-02-03 21:15:28 +03:00
|
|
|
insert_final_newline = true
|
2017-01-13 20:52:32 +03:00
|
|
|
|
2017-02-03 21:15:28 +03:00
|
|
|
[*.cs]
|
2017-01-13 20:52:32 +03:00
|
|
|
indent_size = 4
|
2017-02-03 21:15:28 +03:00
|
|
|
dotnet_sort_system_directives_first = true:warning
|
2017-01-13 20:52:32 +03:00
|
|
|
|
2017-02-03 21:15:28 +03:00
|
|
|
# Xml files
|
|
|
|
[*.{csproj,config,props,targets,ruleset,config,resx,xml}]
|
2017-01-13 20:52:32 +03:00
|
|
|
indent_size = 2
|
|
|
|
|
2017-02-03 21:15:28 +03:00
|
|
|
[*.{json, yml}]
|
2017-01-13 20:52:32 +03:00
|
|
|
indent_size = 2
|
|
|
|
|
2017-02-03 21:15:28 +03:00
|
|
|
[*.{ps1,sh}]
|
2017-01-13 20:52:32 +03:00
|
|
|
indent_size = 4
|