mirror of
https://github.com/VirtualHotBar/NetMount.git
synced 2026-05-07 21:57:09 +08:00
42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"useDefineForClassFields": true,
|
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
"module": "ESNext",
|
|
"skipLibCheck": true,
|
|
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
"jsx": "react-jsx",
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
|
|
/* Linting - 严格模式 */
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noImplicitReturns": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"exactOptionalPropertyTypes": false,
|
|
"forceConsistentCasingInFileNames": true,
|
|
|
|
/* 路径别名 */
|
|
"paths": {
|
|
"@/*": ["./src/*"],
|
|
"@services/*": ["./src/services/*"],
|
|
"@utils/*": ["./src/utils/*"],
|
|
"@type/*": ["./src/type/*"],
|
|
"@controller/*": ["./src/controller/*"],
|
|
"@page/*": ["./src/page/*"]
|
|
}
|
|
},
|
|
"include": ["src"],
|
|
"references": [{ "path": "./tsconfig.node.json" }]
|
|
}
|