diff options
| author | bors <bors@rust-lang.org> | 2023-07-12 22:45:28 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-07-12 22:45:28 +0000 |
| commit | 584dca4a35d041a60e8d820175be4e08f2592e12 (patch) | |
| tree | 5ee14af1de90450f90f70f0126d788d63b5e8ea1 | |
| parent | da02dc8a47cefae9347aac648c4bcd1cd8081431 (diff) | |
| parent | 505d506a47eb34a26b003873785e743009d5d4e2 (diff) | |
| download | rust-584dca4a35d041a60e8d820175be4e08f2592e12.tar.gz rust-584dca4a35d041a60e8d820175be4e08f2592e12.zip | |
Auto merge of #15266 - tetsuharuohzeki:cleanup-editor-config, r=lnicola
Set .editorconfig default indent size to `4` We uses `indent_size = 4` for almost files in this repository. This sorts the config to it.
| -rw-r--r-- | .editorconfig | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/.editorconfig b/.editorconfig index 314f79d3f90..f00ade5fd82 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,13 +7,10 @@ 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] +indent_size = 2 + +[*.{yml, yaml}] +indent_size = 2 |
