root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4

[*.{yml,yaml}]
indent_size = 2

[*.json]
indent_size = 2

[*.md]
indent_size = 2
trim_trailing_whitespace = false

[*.sql]
indent_size = 4
trim_trailing_whitespace = false

# start-gateway.bat 为 GBK 编码（配合脚本内 chcp 936），
# EditorConfig 不支持声明 GBK，此处只约束行尾；编辑时勿转成 UTF-8。
[*.bat]
end_of_line = crlf
