summaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
authorJannis R <mail@jannisr.de>2020-05-01 23:21:22 +0200
committerJannis R <mail@jannisr.de>2020-05-02 16:35:49 +0200
commitfff4d0666f44781a7998174dbc700322f496676d (patch)
tree359d72b5dcc4c12c60881c9fd4c3076f3d6c3849 /.editorconfig
init
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..d9e8230
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,16 @@
+# editorconfig.org
+root = true
+
+[*]
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[**.{js, json}]
+indent_style = tab
+indent_size = 4
+
+[**.{yml,yaml}]
+indent_style = spaces
+indent_size = 2