add editorconfig

This commit is contained in:
Yuan Chiu 2025-04-28 19:45:37 +08:00
parent 364fbb45d8
commit 982881051e
2 changed files with 32 additions and 0 deletions

27
.editorconfig Normal file
View File

@ -0,0 +1,27 @@
root = true
[*]
indent_size = 2
indent_style = space
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.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

View File

@ -0,0 +1,5 @@
{
"Exclude": [
"^completions/"
]
}