1
0

add MegaLinter, .editorconfig and style fixes

This commit is contained in:
2023-05-10 02:53:03 +03:00
parent e8ec59a852
commit 01497d35ca
12 changed files with 291 additions and 197 deletions

31
.editorconfig Normal file
View 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