UNPKG
create-sf-vue
Version:
latest (0.1.3)
0.1.3
0.1.2
0.1.1
一个基于 Vite + Vue3 的项目模板脚手架,支持 TypeScript 和 JavaScript。
create-sf-vue
/
templates
/
typescript
/
prettier.config.mjs
9 lines
(8 loc)
•
390 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
export
default
{
printWidth
:
100
,
// 每行最多字符数量,超出换行(默认80)
tabWidth
:
2
,
// 缩进空格数,默认2个空格
useTabs
:
false
,
// 指定缩进方式,空格或tab,默认false,即使用空格
semi
:
true
,
// 使用分号
singleQuote
:
false
,
// 使用单引号 (true:单引号;false:双引号)
trailingComma
:
'all'
,
// 末尾使用逗号
};