添加 .editorconfig 配置,约束 *.sh 文件格式

This commit is contained in:
Feng Yu
2026-03-26 12:04:13 +08:00
parent 687e72a53f
commit 200d1729fb
2 changed files with 30 additions and 18 deletions

13
.editorconfig Normal file
View File

@@ -0,0 +1,13 @@
root = true
[*]
charset = utf-8
end_of_line = lf
[*.sh]
indent_style = space
indent_size = 4
shell_variant = posix
simplify = true
switch_case_indent = true