Add .editorconfig 51/4051/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 6 Mar 2017 19:17:52 +0000 (14:17 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 6 Mar 2017 19:17:52 +0000 (14:17 -0500)
Change-Id: I75e7e1baaf03a05e2bf97fe2cbc8735d6a280dd2
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
.editorconfig [new file with mode: 0644]

diff --git a/.editorconfig b/.editorconfig
new file mode 100644 (file)
index 0000000..d53519a
--- /dev/null
@@ -0,0 +1,29 @@
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+indent_style = space
+
+[*.json]
+indent_size = 2
+
+[*.rst]
+indent_size = 4
+
+[*.markdown]
+indent_size = 4
+max_line_length = 80
+
+[*.py]
+indent_size = 4
+max_line_legth = 120
+
+[*.sh]
+indent_size = 4
+max_line_length = 80
+
+[*.yaml]
+indent_size = 4
+