mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-15 21:03:55 -07:00
With v3.12.0 shfmt changed the behavior of the `--simplify` option to ignore any EditorConfig when it's provided. Therefore, this option is now moved to the EditorConfig as suggested by the shfmt author. See https://github.com/mvdan/sh/issues/1173 for details.
37 lines
No EOL
654 B
INI
37 lines
No EOL
654 B
INI
root = true
|
|
|
|
[*]
|
|
charset = utf-8
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
|
|
[*.Dockerfile]
|
|
indent_size = 4
|
|
indent_style = space
|
|
|
|
[*.{js,mjs}]
|
|
indent_style = tab
|
|
|
|
[*.py]
|
|
indent_size = 4
|
|
indent_style = space
|
|
|
|
[*.sh]
|
|
indent_style = tab
|
|
function_next_line = true
|
|
simplify = true
|
|
switch_case_indent = true
|
|
|
|
[*.{yaml,yml}]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[build/premake/premake5/**]
|
|
ignore = true
|
|
|
|
[*.Jenkinsfile]
|
|
indent_size = 4
|
|
# Jenkins recommends using spaces for indentation. See:
|
|
# https://wiki.jenkins.io/display/JENKINS/Code+Style+Guidelines
|
|
# Additionally, our linter npm-groovy-lint does not support tabs.
|
|
indent_style = space |