Skip to content

The Unified and Autonomous Development Platform

Refine editorconfig

Michael Weimann9eb507d4cf09
diff --git a/.editorconfig b/.editorconfig
index f331cd0178..52c33156b0 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -3,8 +3,20 @@
# top-most EditorConfig file
root = true
+# Common rules
[*]
+charset = utf-8
# Unix-style newlines with a newline ending every file
end_of_line = lf
+
+# Source files
+[*.{java,css,js,html,xml}]
+indent_style = tab
# Keep whitespaces
trim_trailing_whitespace = false
+
+# YAML files
+[*.yml]
+# Use tab indentation for YAML files as the format requires it
+indent_style = tab
+indent_size = 2