summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorMax Wu2016-10-16 11:13:57 +0800
committerGitHub2016-10-16 11:13:57 +0800
commit33d070e52d3b7792b50ac86c175e91f444027143 (patch)
tree9a946b01813fc58de2ced6ce404b0f8627b6de03 /.editorconfig
parent432106b7c62e82be1d8837c63a00ded9b4da5768 (diff)
parentf3ae4a625a79d66fcdd3ed668f3e78f1923cea89 (diff)
Merge pull request #212 from Yukaii/editorconfig-eslint
Sample editorconfig & eslint
Diffstat (limited to '')
-rw-r--r--.editorconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..e8019ba7
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,11 @@
+root = true
+
+# Tab indentation
+[*]
+indent_style = space
+indent_size = 4
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[*.md]
+trim_trailing_whitespace = false