mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-19 21:37:57 +08:00
37 lines
775 B
Plaintext
37 lines
775 B
Plaintext
# Common config file for supported editors; see editorconfig.org.
|
|
# If you are using an editor that doesn't support editorconfig, try to
|
|
# conform to these settings manually.
|
|
|
|
# Note: while we autogenerate this file, we also check it into git
|
|
# because it affects how source is displayed on github.
|
|
|
|
# This is the top-most EditorConfig file.
|
|
root = true
|
|
|
|
# Defaults for all files.
|
|
[*]
|
|
end_of_line = lf
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
max_line_length = 80
|
|
|
|
# Python overrides.
|
|
[*.py]
|
|
indent_style = space
|
|
indent_size = 4
|
|
max_line_length = 80
|
|
charset = utf-8
|
|
|
|
# Makefile overrides.
|
|
[Makefile]
|
|
indent_style = tab
|
|
indent_size = 2
|
|
max_line_length = 80
|
|
|
|
# C/C++ overrides.
|
|
[*.{c,cc,h,cpp,hpp}]
|
|
indent_style = space
|
|
indent_size = 2
|
|
max_line_length = 80
|
|
|