Add root-editorconfig in homedir as base-specification
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
92336a20f8
commit
f40b21c657
1 changed files with 26 additions and 0 deletions
26
.editorconfig
Normal file
26
.editorconfig
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
end_of_line = lf
|
||||||
|
indent_size = 2
|
||||||
|
indent_style = space
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[*.go]
|
||||||
|
indent_size = 1
|
||||||
|
indent_style = tab
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
trim_trailing_whitespace = false
|
||||||
|
|
||||||
|
[*.py]
|
||||||
|
# https://google.github.io/styleguide/pyguide.html#s3.4-indentation
|
||||||
|
indent_size = 4
|
||||||
|
indent_style = space
|
||||||
|
|
||||||
|
[*.sh]
|
||||||
|
# https://google.github.io/styleguide/shellguide.html#s5.1-indentation
|
||||||
|
indent_size = 2
|
||||||
|
indent_style = space
|
Loading…
Reference in a new issue