1. 修正所有文件的缩进为4空格,将单引号统一改为双引号 2. 新增CORS_ORIGIN环境变量配置并从env读取CORS允许源 3. 新增prettier配置文件统一代码格式 4. 为main.ts添加启动日志输出
10 lines
192 B
Plaintext
10 lines
192 B
Plaintext
{
|
|
"tabWidth": 4,
|
|
"singleQuote": false,
|
|
"trailingComma": "all",
|
|
"printWidth": 390,
|
|
"eslintIntegration": true,
|
|
"bracketSpacing": true,
|
|
"stylelintIntegration": true
|
|
}
|