mirror of
https://github.com/libretro/docs.git
synced 2024-11-26 18:20:43 +00:00
Fix incorrect editorconfig
Fixed the indent_size to 3, as defined in the libretro coding standard. Set Makefiles to use 3 space indentation as done in RetroArch Makefiles. Removed self-explanatory comments. Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
This commit is contained in:
parent
a17e3b4837
commit
15fc2272ee
@ -1,21 +1,20 @@
|
|||||||
# EditorConfig is awesome: http://EditorConfig.org
|
# Libretro coding standards
|
||||||
|
# See https://libretro.readthedocs.io/en/latest/development/coding-standards/
|
||||||
|
# Or search for "Libretro Coding Standards"
|
||||||
|
|
||||||
# top-most EditorConfig file
|
|
||||||
root = true
|
root = true
|
||||||
|
|
||||||
# Unix-style newlines with a newline ending every file
|
|
||||||
[*]
|
[*]
|
||||||
end_of_line = lf
|
end_of_line = lf
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
|
|
||||||
# Tab indentation (no size specified)
|
|
||||||
[Makefile]
|
[Makefile]
|
||||||
indent_style = tab
|
indent_style = space
|
||||||
|
indent_size = 3
|
||||||
|
|
||||||
# Matches multiple files with brace expansion notation
|
|
||||||
# Set default charset
|
|
||||||
[*.{c,h}]
|
[*.{c,h}]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 2
|
indent_size = 3
|
||||||
trim_trailing_whitespace = true
|
max_line_length = 80
|
||||||
|
Loading…
Reference in New Issue
Block a user