aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2018-11-03 15:26:05 -0700
committerDavid Lord <davidism@gmail.com>2018-11-03 15:31:24 -0700
commitb41c96e00afd09eca075a98589886c78666d4d33 (patch)
treebf372cf97c44210717b8954919436023f275627b /.editorconfig
parent6247e015ebe0006ee16e69da7aaaba20de18ec94 (diff)
downloadmarkupsafe-b41c96e00afd09eca075a98589886c78666d4d33.tar.gz
add style checks
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..e32c802
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,13 @@
+root = true
+
+[*]
+indent_style = space
+indent_size = 4
+insert_final_newline = true
+trim_trailing_whitespace = true
+end_of_line = lf
+charset = utf-8
+max_line_length = 88
+
+[*.{yml,yaml,json,js,css,html}]
+indent_size = 2