34 lines
518 B
INI
34 lines
518 B
INI
# EditorConfig is awesome: https://EditorConfig.org
|
|
|
|
# 顶层配置文件
|
|
root = true
|
|
|
|
# 所有文件通用配置
|
|
[*]
|
|
charset = utf-8
|
|
end_of_line = lf
|
|
indent_size = 4
|
|
indent_style = space
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
|
|
# Go 文件配置
|
|
[*.go]
|
|
indent_size = 4
|
|
indent_style = tab
|
|
|
|
# Markdown 文件配置
|
|
[*.md]
|
|
trim_trailing_whitespace = false
|
|
|
|
# YAML 文件配置
|
|
[*.{yml,yaml}]
|
|
indent_size = 2
|
|
|
|
# JSON 文件配置
|
|
[*.json]
|
|
indent_size = 2
|
|
|
|
# Shell 脚本配置
|
|
[*.sh]
|
|
end_of_line = lf |