aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authortunnckoCore <[email protected]>2017-01-17 20:32:41 +0200
committertunnckoCore <[email protected]>2017-01-17 20:32:41 +0200
commite814a573d827be5ebf9d3015ae606780d3f22eb3 (patch)
tree662d1d532603d006a3991831efa12d3c1750b97d /.editorconfig
parent19a32dc9dada22fdd66d16738137cf7e93a29d21 (diff)
switch to Preact's editorconfig
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig8
1 files changed, 7 insertions, 1 deletions
diff --git a/.editorconfig b/.editorconfig
index 3dbf828..9c378bd 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -2,8 +2,14 @@ root = true
[*]
indent_style = tab
-indent_size = 4
+end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
+[{package.json,.*rc,*.yml}]
+indent_style = space
+indent_size = 2
+
+[*.md]
+trim_trailing_whitespace = false