aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2022-02-07 12:11:42 +0100
committerOliver Smith <osmith@sysmocom.de>2022-02-11 15:44:16 +0100
commit0b22171bc31e9b8d79c8ae280271664e150c1c9e (patch)
tree776a7c8f88cd2ec915f575ce6452ab5bf4b77ff8
parentf6f49d23a17f6b97ed288efb95374de6f600f496 (diff)
editorconfig: new file
Auto-configure editors with editorconfig plugin installed to indent yaml files with two spaces in this repository. Change-Id: I008ee040e2c15db11a35a061faa4270bacdbd10d
-rw-r--r--.editorconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..23fbc8d
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,12 @@
+; This file is for unifying the coding style for different editors and IDEs.
+; See http://editorconfig.org for details.
+
+# Top-most EditorConfig file.
+root = true
+
+[**/*.yml]
+indent_size = 2
+indent_style = space
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true