赞
踩
项目根目录 .prettierrc.js 文件
.prettierrc.js
module.exports = { singleQuote: true, // 单引号 trailingComma: 'none', // 末尾逗号 semi: false // 分号 }