所有源代码文件使用 LF (Unix 风格)

prettier格式化
eslint代码质量检查
This commit is contained in:
YHH
2025-10-16 20:24:45 +08:00
parent a6e49e1d47
commit e04ac7c909
8 changed files with 1341 additions and 7 deletions

14
.prettierrc Normal file
View File

@@ -0,0 +1,14 @@
{
"semi": true,
"singleQuote": true,
"tabWidth": 4,
"useTabs": false,
"trailingComma": "none",
"printWidth": 120,
"arrowParens": "always",
"endOfLine": "lf",
"bracketSpacing": true,
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"proseWrap": "preserve"
}