[v5,1/3] editorconfig: Add rules for yaml/yml files.

Message ID bmm.hk63g3keks.gcc.gcc-TEST.rearnsha.163.5.1@forge-stage.sourceware.org
State Committed
Commit 8b00dc7bd29bc43ef9e85d46a372647b0a826b77
Headers
Series convert MAINTAINERS data to YAML. |

Commit Message

Richard Earnshaw via Sourceware Forge July 7, 2026, 10:12 a.m. UTC
  From: Richard Earnshaw <rearnsha@arm.com>

ChangeLog:

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

Patch

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