1
0
forked from 0ad/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:
Ralph Sennhauser 2024-08-25 12:02:06 +02:00
parent abdda50892
commit a04a5f70c7

14
.editorconfig Normal file
View 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