add editorconfig
This commit is contained in:
parent
364fbb45d8
commit
982881051e
27
.editorconfig
Normal file
27
.editorconfig
Normal 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
|
5
.editorconfig-checker.json
Normal file
5
.editorconfig-checker.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"Exclude": [
|
||||
"^completions/"
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user