aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorJonas Platte <jplatte@users.noreply.github.com>2017-08-05 03:25:40 +0200
committerMatthew Hodgson <matthew@arasphere.net>2017-08-05 02:25:40 +0100
commit21a8c24d5fbc1290a5c555fdd7e5d286416cb4db (patch)
treed8301b9f2d33bef20c307566576b38278a289993 /.editorconfig
parentc15e4572ffcff7fa15784d2c51704f7fc6b4cc89 (diff)
Add .editorconfig (#179)
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig18
1 files changed, 18 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..1fee5617
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,18 @@
+root = true
+
+[*]
+charset = utf-8
+
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.go]
+indent_style = tab
+indent_size = 4
+
+[*.md]
+trim_trailing_whitespace = false
+
+[*.{yml,yaml}]
+indent_style = space