当前位置:   article > 正文

prettier配置_prettier by default, output is written to stdout.

prettier by default, output is written to stdout.

项目根目录 .prettierrc.js 文件

module.exports = {
  singleQuote: true, // 单引号
  trailingComma: 'none', // 末尾逗号
  semi: false // 分号
}
  • 1
  • 2
  • 3
  • 4
  • 5
声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop】
推荐阅读
相关标签
  

闽ICP备14008679号