diff --git a/.editorconfig b/.editorconfig index a2500729..c6eb7d00 100644 --- a/.editorconfig +++ b/.editorconfig @@ -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 -# Unix-style newlines with a newline ending every file [*] end_of_line = lf insert_final_newline = true +trim_trailing_whitespace = true charset = utf-8 -# Tab indentation (no size specified) [Makefile] -indent_style = tab +indent_style = space +indent_size = 3 -# Matches multiple files with brace expansion notation -# Set default charset [*.{c,h}] indent_style = space -indent_size = 2 -trim_trailing_whitespace = true +indent_size = 3 +max_line_length = 80