mirror of https://github.com/armbian/build.git
chore: edit code format config (#3578)
This commit is contained in:
parent
eaa10a19de
commit
f89d638de3
|
|
@ -17,10 +17,16 @@ indent_size = 4
|
||||||
trim_trailing_whitespace = false
|
trim_trailing_whitespace = false
|
||||||
insert_final_newline = false
|
insert_final_newline = false
|
||||||
|
|
||||||
|
[*.json]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
insert_final_newline = true
|
||||||
|
|
||||||
# C coding style based on Linux kernel.
|
# C coding style based on Linux kernel.
|
||||||
# https://www.kernel.org/doc/html/v5.0/process/coding-style.html
|
# https://www.kernel.org/doc/html/v5.0/process/coding-style.html
|
||||||
|
|
||||||
[*.sh]
|
[[{*.sh,*.inc}]]
|
||||||
indent_style = tab
|
indent_style = tab
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"recommendations": [
|
||||||
|
"editorconfig.editorconfig",
|
||||||
|
"foxundermoon.shell-format"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"[*.inc]": {
|
||||||
|
"editor.defaultFormatter": "foxundermoon.shell-format"
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue