aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorTrack3 <pengliabc@live.cn>2018-12-12 00:02:36 +0800
committerTrack3 <pengliabc@live.cn>2018-12-12 00:02:36 +0800
commit3bb532df30e5ed3cf3713dc450a1a0ec99172e08 (patch)
tree4bb9b5db6ff517877618c0e03dbc2eca3de0d076 /.editorconfig
parentcaf088cbfb4899e4d86fcb18373c4093f32c739b (diff)
downloadhermit-3bb532df30e5ed3cf3713dc450a1a0ec99172e08.tar.gz
Improve code quality & consistency
* Add EditorConfig * Rebuild animate.css: remove an unused animation * Slightly rewrite header part
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig20
1 files changed, 20 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..f498b9e
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,20 @@
+# editorconfig.org
+
+root = true
+
+[*]
+charset = utf-8
+indent_style = space
+indent_size = 2
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.{html,xml}]
+indent_style = tab
+
+[*.md]
+indent_style = unset
+indent_size = unset
+insert_final_newline = unset
+trim_trailing_whitespace = unset