fix: 修复多个文件末尾缺少换行符的问题,确保文件格式一致性

This commit is contained in:
2025-03-25 16:59:15 +08:00
parent 910e9c7713
commit 21574294bc
19 changed files with 141 additions and 115 deletions

27
.prettierrc Normal file
View File

@@ -0,0 +1,27 @@
{
"arrowParens": "always",
"bracketSameLine": false,
"bracketSpacing": true,
"embeddedLanguageFormatting": "auto",
"htmlWhitespaceSensitivity": "css",
"insertPragma": false,
"jsxSingleQuote": false,
"printWidth": 100,
"proseWrap": "preserve",
"quoteProps": "as-needed",
"requirePragma": false,
"semi": true,
"singleQuote": false,
"tabWidth": 2,
"overrides": [
{
"files": ["*.html", "*.css", "*.scss", "*.md"],
"options": {
"tabWidth": 4
}
}
],
"trailingComma": "es5",
"useTabs": false,
"vueIndentScriptAndStyle": false
}