2019-01-31 16:37:20 +08:00
|
|
|
# This file is the top-most EditorConfig file
|
|
|
|
root = true
|
|
|
|
|
|
|
|
# All Files
|
|
|
|
[*]
|
|
|
|
charset = utf-8
|
|
|
|
end_of_line = lf
|
|
|
|
indent_style = tab
|
|
|
|
indent_size = 4
|
|
|
|
insert_final_newline = true
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
|
|
|
|
#########################
|
|
|
|
# File Extension Settings
|
|
|
|
#########################
|
|
|
|
|
|
|
|
# YAML Files
|
2023-02-15 14:50:31 +08:00
|
|
|
[*.{yml,yaml,log.config.j2,yaml.j2}]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
[group_vars/matrix_servers]
|
2019-01-31 16:37:20 +08:00
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
# Markdown Files
|
2019-02-01 17:00:25 +08:00
|
|
|
#
|
|
|
|
# Two spaces at the end of a line in Markdown mean "new line",
|
|
|
|
# so trimming trailing whitespace for such files can cause breakage.
|
2019-01-31 16:37:20 +08:00
|
|
|
[*.md]
|
|
|
|
trim_trailing_whitespace = false
|