refactor: 统一代码风格并更新依赖配置
- 统一使用单引号替代双引号 - 移除不必要的分号 - 更新prettier配置使用更宽松的格式 - 添加eslint配置文件和相关依赖 - 更新package.json中的脚本和依赖版本
This commit is contained in:
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user