vscode使用editorconfig插件以及.editorconfig配置文件说明详解
2020-04-29 22:01:41 来源:易采站长站 作者:丽君
我的用于vue项目的配置文件
配合ESLint + Prettier
#表示是最顶层的配置文件,发现设为true时,才会停止查找.editorconfig文件
root = true
# Unix-style newlines with a newline ending every file 对于所有的文件 始终在文件末尾插入一个新行
[*]
end_of_line = crlf
insert_final_newline = true
# 对于所有的js文件,设置文件字符集为utf-8
[*.js]
charset = utf-8
# 设置所有JS,vue的缩进为
[*.{js,vue}]
indent_style = tab
到此这篇关于vscode使用editorconfig插件以及.editorconfig配置文件说明详解的文章就介绍到这了,更多相关vscode editorconfig配置内容请搜索易采站长站以前的文章或继续浏览下面的相关文章希望大家以后多多支持易采站长站!
暂时禁止评论













闽公网安备 35020302000061号