feat: 添加prettier代码格式化工具及相关配置

This commit is contained in:
刘引
2025-10-15 09:24:45 +08:00
parent 4b99518c16
commit 64e8813f35

12
.prettierrc Normal file
View File

@@ -0,0 +1,12 @@
{
"semi": false,
"singleQuote": true,
"trailingComma": "none",
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"bracketSpacing": true,
"arrowParens": "avoid",
"vueIndentScriptAndStyle": false,
"endOfLine": "lf"
}