Added .editorconfig, removed obsoleted upgrade.sh and main.sh, launching user_config function. (#1543)

This commit is contained in:
Przemysław Sztoch
2019-09-07 23:28:42 +02:00
committed by Igor Pečovnik
parent cb91bf593c
commit 202d2cac81
4 changed files with 38 additions and 35 deletions

33
.editorconfig Normal file
View File

@@ -0,0 +1,33 @@
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
charset = utf-8
end_of_line = lf
indent_style = tab
indent_size = 8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
indent_style = space
indent_size = 4
trim_trailing_whitespace = false
insert_final_newline = false
# C coding style based on Linux kernel.
# https://www.kernel.org/doc/html/v5.0/process/coding-style.html
[*.sh]
indent_style = tab
indent_size = 4
[*.c]
indent_style = tab
indent_size = 8
[*.h]
indent_style = tab
indent_size = 8