diff --git a/.editorconfig b/.editorconfig index dda39da09e90..6b736d884f22 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,12 +1,13 @@ root = true -[*] + +[*.rs] indent_style=tab indent_size=tab tab_width=4 +max_line_length=120 end_of_line=lf charset=utf-8 trim_trailing_whitespace=true -max_line_length=120 insert_final_newline=true [*.yml] @@ -14,6 +15,9 @@ indent_style=space indent_size=2 tab_width=8 end_of_line=lf +charset=utf-8 +trim_trailing_whitespace=true +insert_final_newline=true [*.sh] indent_style=space