Add global .editorconfig
This sets some reasonable defaults for all files. Adds settings for *.sh files, doubles as configuration for shfmt. Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
parent
abdda50892
commit
a04a5f70c7
14
.editorconfig
Normal file
14
.editorconfig
Normal file
@ -0,0 +1,14 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.sh]
|
||||
indent_style = tab
|
||||
function_next_line = true
|
||||
switch_case_indent = true
|
||||
|
||||
[build/premake/premake5/**]
|
||||
ignore = true
|
Loading…
Reference in New Issue
Block a user