X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=.editorconfig;h=ec6e107d547f0e6d7ff63e4866a641e3d2c4d1a5;hb=881e1c1a8b85cc784cf4d982203a1d26d16ba610;hp=5bb92df3e04329867d1ed8bc6449f84ed4efb5d5;hpb=8eedd823178229589183f5bdca5d054e36b702ea;p=rust.git diff --git a/.editorconfig b/.editorconfig index 5bb92df3e04..ec6e107d547 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,26 +1,21 @@ +# EditorConfig helps developers define and maintain consistent +# coding styles between different editors and IDEs +# editorconfig.org + root = true [*] -charset = utf-8 end_of_line = lf -indent_size = 2 -indent_style = space +charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true +indent_style = space +indent_size = 4 [*.md] +# double whitespace at end of line +# denotes a line break in Markdown trim_trailing_whitespace = false -[*.rs] -indent_size = 4 - -[tests/**/*.rs] -charset = utf-8 -end_of_line = unset -indent_size = unset -indent_style = unset -trim_trailing_whitespace = unset -insert_final_newline = unset - -[appveyor.yml] -end_of_line = unset +[*.yml] +indent_size = 2