Browse Source

修改文件

master
liuchen864 11 months ago
parent
commit
1a89f751b3
  1. 29
      .editorconfig

29
.editorconfig

@ -1,12 +1,19 @@
root = true root = true
[*.{js,ts,vue}]
charset = utf-8 # 设置文件字符集为 utf-8 [*]
end_of_line = lf # 控制换行类型(lf | cr | crlf) charset=utf-8
insert_final_newline = true # 始终在文件末尾插入一个新行 end_of_line=lf
indent_style = space # 缩进风格(tab | space) insert_final_newline=true
indent_size = 2 # 缩进大小 indent_style=space
max_line_length = 100 # 最大行长度 indent_size=2
max_line_length = 100
[*.md] # 仅 md 文件适用以下规则
max_line_length = off # 关闭最大行长度限制 [*.{yml,yaml,json}]
trim_trailing_whitespace = false # 关闭末尾空格修剪 indent_style = space
indent_size = 2
[*.md]
trim_trailing_whitespace = false
[Makefile]
indent_style = tab

Loading…
Cancel
Save