Add editor configuration file.
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 8 Feb 2021 16:33:03 +0000 (17:33 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 8 Feb 2021 16:33:03 +0000 (17:33 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.editorconfig [new file with mode: 0644]

diff --git a/.editorconfig b/.editorconfig
new file mode 100644 (file)
index 0000000..5f5dd09
--- /dev/null
@@ -0,0 +1,21 @@
+root = true
+
+[*]
+indent_style = space
+indent_size = 2
+tab_width = 2
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+end_of_line = lf
+
+[*.{js,jsx,ts,tsx}]
+quote_type = single
+
+[*.md]
+max_line_length = off
+trim_trailing_whitespace = false
+
+[{Makefile,**.mk}]
+# Use tabs for indentation (Makefiles require tabs)
+indent_style = tab