Unnamed repository; edit this file 'description' to name the repository.
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.
bors 2023-07-13
parent da02dc8 · parent 505d506 · commit 584dca4
-rw-r--r--.editorconfig13
1 files changed, 5 insertions, 8 deletions
diff --git a/.editorconfig b/.editorconfig
index 314f79d3f9..f00ade5fd8 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