VScode格式化后单引号变双引号解决办法

格式化后单引号变双引号,还加分号等。

文件根目录创建文件 .prettierrc.json 

文件内容

{
  "singleQuote": true,
  "semi": false
}

猜你喜欢

转载自blog.csdn.net/Mint6/article/details/104229226