X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=.editorconfig;h=ec6e107d547f0e6d7ff63e4866a641e3d2c4d1a5;hb=HEAD;hp=314f79d3f901c5482629fb54380e6cf6906383b7;hpb=1a5925dc84d0ef966023d6612147f93a0464174c;p=rust.git diff --git a/.editorconfig b/.editorconfig index 314f79d3f90..ec6e107d547 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,19 +1,21 @@ -# https://EditorConfig.org +# EditorConfig helps developers define and maintain consistent +# coding styles between different editors and IDEs +# editorconfig.org + root = true [*] +end_of_line = lf charset = utf-8 trim_trailing_whitespace = true -end_of_line = lf insert_final_newline = true indent_style = space - -[*.{rs,toml}] indent_size = 4 -[*.ts] -indent_size = 4 -[*.js] -indent_size = 4 -[*.json] -indent_size = 4 +[*.md] +# double whitespace at end of line +# denotes a line break in Markdown +trim_trailing_whitespace = false + +[*.yml] +indent_size = 2