refactor: 统一代码风格并更新依赖配置

- 统一使用单引号替代双引号
- 移除不必要的分号
- 更新prettier配置使用更宽松的格式
- 添加eslint配置文件和相关依赖
- 更新package.json中的脚本和依赖版本
This commit is contained in:
houakang
2026-04-10 10:39:41 +08:00
parent 4d578b3f0b
commit c738e638cf
15 changed files with 1004 additions and 429 deletions

View File

@@ -1,11 +1,9 @@
{
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"$schema": "https://json.schemastore.org/prettierrc",
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"bracketSpacing": true,
"arrowParens": "always",
"endOfLine": "lf"
"printWidth": 160,
"objectWrap": "preserve",
"bracketSameLine": true,
"trailingComma": "all"
}