2019-07-07 22:39:19 +00:00
|
|
|
# With more recent updates Visual Studio 2017 supports EditorConfig files out of the box
|
|
|
|
# Visual Studio Code needs an extension: https://github.com/editorconfig/editorconfig-vscode
|
|
|
|
# For emacs, vim, np++ and other editors, see here: https://github.com/editorconfig
|
|
|
|
###############################
|
|
|
|
# Core EditorConfig Options #
|
|
|
|
###############################
|
|
|
|
root = true
|
|
|
|
|
|
|
|
# All files
|
|
|
|
[*]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
|
|
|
charset = utf-8
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
insert_final_newline = true
|
|
|
|
end_of_line = lf
|
2021-05-14 15:20:36 +00:00
|
|
|
max_line_length = 9999
|
2019-07-07 22:39:19 +00:00
|
|
|
|
|
|
|
# YAML indentation
|
|
|
|
[*.{yml,yaml}]
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
# XML indentation
|
|
|
|
[*.xml]
|
|
|
|
indent_size = 2
|