X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=.editorconfig;h=ec6e107d547f0e6d7ff63e4866a641e3d2c4d1a5;hb=63dc0b86beb75bca4a2aa81f36f08bb3551c5d52;hp=314f79d3f901c5482629fb54380e6cf6906383b7;hpb=4fcdb0fea02d7d64450a6a48d4a9ac1b546b66f9;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