vscode设置js文件自动格式化单引号
时间:2021-06-10 11:30:44
收藏:0
阅读:272
声明
引自 https://blog.csdn.net/Ajia_666/article/details/104930202
目标:
实现js文件双引号自动格式化成单引号
在根目录下创建名为 .prettierrc.json 的文件, 内容为
{
"singleQuote": true,
"semi": false
}
如图所示
原文:https://www.cnblogs.com/xihailong/p/14870084.html
评论(0)