代码规范配置editorconfig

root = true

[*] # 表示所有文件适用
charset = utf-8 # 设置文件字符集为utf-8
indent_style = space # 缩进风格
indent_size = 2 # 缩进大小
end_of_line = lf # 控制换行类型
insert_final_newline = true # 始终在文件末尾插入一个新行
trim_trailing_whitespace = true # 去除末尾的任意空白字符

[*.md] # 表示仅md文件适用以下规则
max_line_length = off
trim_trailing_whitespace = false

  

posted @ 2023-02-01 17:38  小白咚  阅读(52)  评论(0编辑  收藏  举报