.editorconfig 403 B

1234567891011121314151617181920
  1. # 告诉EditorConfig插件,这是根文件,不用继续往上查找
  2. root = true
  3. # 匹配全部文件
  4. [*]
  5. # 结尾换行符,可选"lf"、"cr"、"crlf"
  6. end_of_line = lf
  7. # 在文件结尾插入新行
  8. insert_final_newline = true
  9. # 删除一行中的前后空格
  10. trim_trailing_whitespace = true
  11. # 设置字符集
  12. charset = utf-8
  13. indent_size = 2
  14. # 空格替换tab
  15. indent_style = space
  16. tab_width = 2