.editorconfig 340 B

123456789101112131415161718
  1. # http://editorconfig.org
  2. root = true
  3. # 空格替代Tab缩进在各种编辑工具下效果一致
  4. [*]
  5. indent_style = space
  6. indent_size = 4
  7. charset = utf-8
  8. end_of_line = lf
  9. trim_trailing_whitespace = true
  10. insert_final_newline = true
  11. [*.{json,yml,yaml}]
  12. indent_size = 2
  13. [*.md]
  14. insert_final_newline = false
  15. trim_trailing_whitespace = false