From: Richard Earnshaw <[email protected]>

ChangeLog:

        * .editorconfig (*.yaml/.yml): Add rules.
---
 .editorconfig | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.editorconfig b/.editorconfig
index 13cfb75abb0c..bda3461765d1 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -155,3 +155,9 @@ trim_trailing_whitespace = true
 indent_style = space
 indent_size = 2
 trim_trailing_whitespace = true
+
+# Yaml
+[*.y{,a}ml]
+indent_style = space
+indent_size = 2
+trim_trailing_whitespace = true
-- 
2.54.0

Reply via email to