.editorconfig 864 B

123456789101112131415161718192021222324252627282930
  1. # root 表明是最顶层的配置文件,发现设为true时,才会停止查找.editorconfig文件。
  2. root = false
  3. [*]
  4. # 缩进样式, tab | space
  5. indent_style = space
  6. # 设置整数表示规定每级缩进的列数和soft-tabs的宽度(译注 = 空格数)。如果设定为tab,则会使用tab_width的值(如果已指定)
  7. indent_size = 4
  8. # 设置整数用于指定替代tab的列数。默认值就是indent_size的值,一般无需指定
  9. tab_width = 4
  10. # 定义换行符,支持 lf、 cr 和 crlf
  11. end_of_line = crlf
  12. charset = utf-8
  13. # 设为 true 表示会除去换行行首的任意空白字符,false 反之
  14. trim_trailing_whitespace = true
  15. # 设为 true 表明使文件以一个空白行结尾,false 反之
  16. insert_final_newline = true
  17. [*.md]
  18. trim_trailing_whitespace = false
  19. [{package,bower}.json]
  20. indent_style = space
  21. indent_size = 4