Add .editorconfig
authorDrew DeVault <sir@cmpwn.com>
Fri, 2 Aug 2019 21:25:05 +0000 (17:25 -0400)
committerDaniel Stone <daniel@fooishbar.org>
Mon, 5 Aug 2019 08:43:45 +0000 (08:43 +0000)
This is copied from Weston

.editorconfig [new file with mode: 0644]

diff --git a/.editorconfig b/.editorconfig
new file mode 100644 (file)
index 0000000..e0fc853
--- /dev/null
@@ -0,0 +1,15 @@
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+trim_trailing_whitespace = true
+insert_final_newline = true
+indent_style = tab
+indent_size = 8
+max_line_length = 80
+
+[*.xml]
+indent_style = space
+indent_size = 2
+tab_width = 8