mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
While the desired options for indent size and style are Python's defaults, let's make it explicit by specifying it in the EditorConfig. As part of this, this also removes unnecessary inline formatting options for Python files.
22 lines
313 B
INI
22 lines
313 B
INI
root = true
|
|
|
|
[*]
|
|
charset = utf-8
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
|
|
[*.py]
|
|
indent_size = 4
|
|
indent_style = space
|
|
|
|
[*.sh]
|
|
indent_style = tab
|
|
function_next_line = true
|
|
switch_case_indent = true
|
|
|
|
[*.{yaml,yml}]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[build/premake/premake5/**]
|
|
ignore = true
|