summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorYukai Huang2017-03-31 20:58:58 +0800
committerYukai Huang2017-03-31 20:58:58 +0800
commita4385ec19dc3ad89a8e084f9bce560c7197275a8 (patch)
tree0b2cdc3c3d93cd0f75d61a30aeef801cbeabb207 /.editorconfig
parenta938cac42a46a3421473d19dc76d41c3e706ef5c (diff)
Update editorconfig
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig6
1 files changed, 5 insertions, 1 deletions
diff --git a/.editorconfig b/.editorconfig
index e271be73..75e2a698 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -1,12 +1,16 @@
root = true
-# Tab indentation
[*]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true
+[{*.html,*.ejs}]
+indent_style = space
+indent_size = 4
+trim_trailing_whitespace = true
+
[*.md]
trim_trailing_whitespace = false