ソースを参照

improve .editorconfig

jomo 10 年 前
コミット
3cc14ae837
1 ファイル変更6 行追加8 行削除
  1. 6 8
      .editorconfig

+ 6 - 8
.editorconfig

@@ -1,19 +1,17 @@
 # We use EditorConfig to standardize settings between contributors
 # We use EditorConfig to standardize settings between contributors
 # See http://editorconfig.org for more info and plugin downloads
 # See http://editorconfig.org for more info and plugin downloads
 
 
-# This is the only config file
 root = true
 root = true
 
 
-# Unix-style newlines with with new lines at the end
 [*]
 [*]
 end_of_line = lf
 end_of_line = lf
-insert_final_newline = true
+insert_final_newline = false
+trim_trailing_whitespace = true
 
 
-# Use utf-8 for character encoding
 [*.{js, json, yml}]
 [*.{js, json, yml}]
+indent_style = space
+indent_size = 2
 charset = utf-8
 charset = utf-8
 
 
-# 2 space indents
-[*.{js, json, yml}]
-indent_style = space
-indent_size = 2
+[*.md]
+trim_trailing_whitespace = false