[sbws/master] fix: Indent by default to 2 except python files

commit de2154d4f1dc585366cc1b96ab49bc3def83b391 Author: juga0 <juga@riseup.net> Date: Tue Mar 16 14:23:14 2021 +0000 fix: Indent by default to 2 except python files also uncomment final newline. Can be commented again in case it fails --- .editorconfig | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.editorconfig b/.editorconfig index 696cda3..8629854 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,21 +7,15 @@ root = true [*] indent_style = space -# this remove EOF new line with some editors -# insert_final_newline = true +insert_final_newline = true trim_trailing_whitespace = true end_of_line = lf charset = utf-8 max_line_length = 79 +indent_size = 2 [*.py] indent_size = 4 [Makefile] indent_style = tab - -[*.ini] -indent_size = 4 - -[*.yml] -indent_size = 2
participants (1)
-
juga@torproject.org