1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-03 08:48:42 +00:00

Add EditorConfig support

[EditorConfig](http://editorconfig.org/) will automatically configure text editors and IDEs to RetroArch's coding standards. Helps keeps things to the 3-space tabbing.
This commit is contained in:
Rob Loach 2016-09-16 10:44:33 -04:00 committed by GitHub
parent 125c4f9529
commit 85dbd1d2b2

20
.editorconfig Normal file
View File

@ -0,0 +1,20 @@
# EditorConfig: http://EditorConfig.org
# Top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
# 3 space indentation
[*.{c,h,js,css,html}]
indent_style = space
indent_size = 3
# Tab indentation
[Makefile*]
indent_style = tab