This commit is contained in:
abing
2025-06-13 11:40:16 +08:00
parent 437bf23f09
commit 0b93d16b64
1484 changed files with 189715 additions and 0 deletions

13
vue3/.prettierrc.cjs Normal file
View File

@@ -0,0 +1,13 @@
module.exports = {
useTabs: false, // 关闭tab缩进使用Space缩进
tabWidth: 2, // 每次缩进2个字符
semi: true, // 结尾加分号
singleQuote: true, // 使用单引号
jsxSingleQuote: true, // jsx中使用单引号
trailingComma: 'es5', // 结尾逗号使用es5规则
bracketSpacing: true, // 括号和参数之间有空格
jsxBracketSameLine: false, // 标签属性较多时,标签箭头>另起一行
arrowParens: 'always', // 箭头函数参数永远加括号
quoteProps: 'as-needed', // 属性加引号需要加时再加
printWidth: 100, // 每行字符个数
};