forked from mirrors/0ad
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:
@@ -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
|
||||||
Reference in New Issue
Block a user