.editorconfig 248 B

12345678910111213
  1. root = true
  2. # 对所有文件生效
  3. [*]
  4. charset = utf-8
  5. indent_style = space
  6. indent_size = 2
  7. end_of_line = lf
  8. insert_final_newline = true
  9. trim_trailing_whitespace = true
  10. # 对后缀名为 md 的文件生效
  11. [*.md]
  12. trim_trailing_whitespace = false