add .editorconfig
This commit is contained in:
parent
cc6482a9ed
commit
d6db549eaa
31
.editorconfig
Normal file
31
.editorconfig
Normal file
@ -0,0 +1,31 @@
|
||||
root = true
|
||||
|
||||
# Global
|
||||
[*]
|
||||
indent_style = unset
|
||||
indent_size = 4
|
||||
tab_width = 4
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = unset
|
||||
|
||||
# Source
|
||||
[*.{sh,bash,dash,ksh}]
|
||||
indent_style = tab
|
||||
insert_final_newline = true
|
||||
|
||||
[builder]
|
||||
insert_final_newline = true
|
||||
|
||||
# Other
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
[*.yml]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
insert_final_newline = true
|
||||
|
||||
[*.{txt,cfg,conf}]
|
||||
indent_style = tab
|
Loading…
Reference in New Issue
Block a user