vscode格式化editorconfig

项目根目录下新建文件 .editorconfig

# https://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
insert_final_newline = false
trim_trailing_whitespace = false

 

posted @ 2022-05-31 15:21  jqynr  阅读(112)  评论(0)    收藏  举报