46 lines
765 B
INI
46 lines
765 B
INI
root = true
|
|
|
|
[*]
|
|
indent_size = 2
|
|
indent_style = space
|
|
charset = utf-8
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
|
|
[.chezmoitemplates/*]
|
|
insert_final_newline = false
|
|
trim_trailing_whitespace = true
|
|
|
|
[*.md]
|
|
indent_size = 4
|
|
indent_style = space
|
|
|
|
# 排除特定檔案類型的規則
|
|
[*.code-workspace]
|
|
# 不套用任何規則,覆蓋全域設定
|
|
indent_size = unset
|
|
indent_style = unset
|
|
charset = unset
|
|
end_of_line = unset
|
|
insert_final_newline = unset
|
|
trim_trailing_whitespace = unset
|
|
|
|
[*.ps1]
|
|
charset = utf-8
|
|
end_of_line = crlf
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
|
|
[*.py]
|
|
indent_size = 4
|
|
indent_style = space
|
|
|
|
[*.sh]
|
|
indent_size = 2
|
|
indent_style = space
|
|
|
|
[{*.yaml,*.yml}]
|
|
indent_size = 2
|
|
indent_style = space
|