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

<[email protected]>
Newsgroups org.yoctoproject.lists.meta-arago
Message-ID <[email protected]>
From: Randolph Sapp <[email protected]>

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 <[email protected]>
---
 .editorconfig | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 .editorconfig

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
-- 
2.52.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.