You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
672 B
18 lines
672 B
{
|
|
"extends": "@vue/tsconfig/tsconfig.dom.json",
|
|
"compilerOptions": {
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
|
|
/* Linting */
|
|
"strict": true, //开启所有严格检查模式
|
|
"noUnusedLocals": true, //不能有没用到的局部变量
|
|
"noUnusedParameters": true, // 不能有没用到的函数参数
|
|
"noFallthroughCasesInSwitch": true, //switch 语句必须用 break 或 return
|
|
"noUncheckedSideEffectImports": true, //禁止直接导入有副作用的模块(除非显式标注)
|
|
"baseUrl": "./",
|
|
"paths": {
|
|
"@/*": ["src/*"]
|
|
}
|
|
},
|
|
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"]
|
|
}
|
|
|