.editorconfig 566 B

12345678910111213141516
  1. # Editor configuration, see http://editorconfig.org
  2. # 表示最顶层的 EditorConfig 配置文件
  3. root = true
  4. [*] # 表示所有文件适用
  5. charset = utf-8 # 设置文件字符集为 utf-8
  6. indent_style = space # 缩进风格(tab | space)
  7. indent_size = 2 # 缩进大小
  8. end_of_line = lf # 控制换行类型(lf | cr | crlf)
  9. trim_trailing_whitespace = true # 去除行尾的空白字符
  10. insert_final_newline = true # 始终在文件末尾插入一个新行
  11. [*.md] # 表示仅 md 文件适用以下规则
  12. max_line_length = off
  13. trim_trailing_whitespace = false