game/.editorconfig

46 lines
854 B
INI

# EditorConfig is awesome: https://editorconfig.org
# top-most EditorConfig file
root = true
# Default settings for all files
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 2
insert_final_newline = true
tab_width = 2
trim_trailing_whitespace = true
# Tab indentation for Makefiles
[Makefile]
indent_style = tab
# Configuration files
[*.{json,yml,yaml}]
indent_style = space
indent_size = 2
# Lua specific settings
[*.{lua,luau,rockspec}]
indent_style = space
indent_size = 2
max_line_length = 120
# Documentation files
[*.{md,rst,txt}]
trim_trailing_whitespace = false
max_line_length = off
[*.sh]
indent_style = space
indent_size = 2
# --language-variant
shell_variant = auto
binary_next_line = true
# --case-indent
switch_case_indent = true
space_redirects = false
# --func-next-line
function_next_line = false