aboutsummaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig26
1 files changed, 26 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..363da9e
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,26 @@
+# http://editorconfig.org
+
+# this file is the top-most editorconfig file
+root = true
+
+# all files
+[*]
+charset = utf-8
+end_of_line = lf
+indent_style = space
+indent_size = 4
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+# markdown files
+[*.md]
+insert_final_newline = false
+trim_trailing_whitespace = false
+
+# configuration files
+[*.toml]
+indent_size = 2
+
+# web files
+[*.{html,css,less}]
+indent_size = 2