mirror of
https://github.com/armbian/config.git
synced 2026-01-06 09:53:35 -08:00
Add .editorconfig from main armbian repository (#183)
This commit is contained in:
34
.editorconfig
Normal file
34
.editorconfig
Normal file
@@ -0,0 +1,34 @@
|
||||
# EditorConfig is awesome: http://EditorConfig.org
|
||||
|
||||
# top-most EditorConfig file
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
trim_trailing_whitespace = false
|
||||
insert_final_newline = true
|
||||
|
||||
[*.md]
|
||||
indent_style = space
|
||||
insert_final_newline = false
|
||||
|
||||
[*.json]
|
||||
indent_style = space
|
||||
trim_trailing_whitespace = false
|
||||
insert_final_newline = true
|
||||
|
||||
# Custom Armbian formatting for bash sources and configuration
|
||||
[*.{sh,inc,conf,eos,wip,tvb,csc}]
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
shell_variant = bash
|
||||
binary_next_line = false
|
||||
switch_case_indent = true
|
||||
space_redirects = true
|
||||
keep_padding = false
|
||||
function_next_line = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user