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
代码规范配置editorconfig
最新推荐文章于 2024-05-05 07:41:03 发布