diff mbox series

[meta-arago,oe-layersetup,1/5] editorconfig: add a shared editor configuration

Message ID 20260205225528.92769-3-rs@ti.com
State New
Headers show
Series oe-layertool-setup: general clean up and bugfix | expand

Commit Message

Randolph Sapp Feb. 5, 2026, 10:55 p.m. UTC
From: Randolph Sapp <rs@ti.com>

Add an editorconfig to keep track of the various file types and their
current whitespace patterns, even some of them may break traditional
conventions.

Signed-off-by: Randolph Sapp <rs@ti.com>
---
 .editorconfig | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 .editorconfig
diff mbox series

Patch

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..30740e7
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,15 @@ 
+# Shared editor configuration <https://editorconfig.org>
+
+root = true
+
+[*]
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.{sh,pl,xml}]
+indent_size = 4
+indent_style = space
+
+[*.{yml,json,xslt}]
+indent_size = 2
+indent_style = space