.editorconfig 364 B

123456789101112131415161718192021
  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. [*.java]
  12. indent_style = tab
  13. [*.{json,yml}]
  14. indent_size = 2
  15. [*.md]
  16. insert_final_newline = false
  17. trim_trailing_whitespace = false