Add .editorconfig
This commit is contained in:
parent
9e73146fb7
commit
5ec9355c45
1 changed files with 23 additions and 0 deletions
23
dot_editorconfig
Normal file
23
dot_editorconfig
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
; https://editorconfig.org/
|
||||||
|
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
end_of_line = lf
|
||||||
|
charset = utf-8
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
insert_final_newline = true
|
||||||
|
|
||||||
|
[{Makefile,go.mod,go.sum,*.go,.gitmodules}]
|
||||||
|
indent_style = tab
|
||||||
|
indent_size = 4
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
indent_size = 4
|
||||||
|
trim_trailing_whitespace = false
|
||||||
|
|
||||||
|
[{Dockerfile,*.bash,*.sh}]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
Loading…
Reference in a new issue