mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2025-01-05 10:36:56 +08:00
29 lines
652 B
INI
29 lines
652 B
INI
# EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs.
|
|
# Atom: Please assure your Atom's config setting Tab Type is set to auto, otherwise Atom-EditorConfig may not work as expected. Also disable whitespace package.
|
|
# http://editorconfig.org/
|
|
|
|
root = true
|
|
|
|
[*]
|
|
charset = utf-8
|
|
indent_style = tab
|
|
indent_size = 4
|
|
trim_trailing_whitespace = true
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
|
|
# YAML Files
|
|
[*.{yml,yaml}]
|
|
indent_size = 2
|
|
indent_style = space
|
|
|
|
# JSON Files
|
|
[*.{json,json5,webmanifest}]
|
|
indent_size = 2
|
|
indent_style = space
|
|
|
|
# BASH Files
|
|
[*.{.sh}]
|
|
indent_style = tab
|
|
indent_size = 4
|