Miao-Yunzai/tsconfig.json

44 lines
1.1 KiB
JSON
Raw Normal View History

2024-06-08 20:52:49 +08:00
{
2024-06-08 21:07:07 +08:00
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"noImplicitAny": false,
"esModuleInterop": true,
2024-06-10 09:34:28 +08:00
"moduleResolution": "bundler",
2024-06-08 21:07:07 +08:00
"removeComments": true,
"preserveConstEnums": true,
"ignoreDeprecations": "5.0",
"jsx": "react",
2024-06-10 09:34:28 +08:00
"noEmit": true,
"allowImportingTsExtensions": true,
2024-06-08 21:07:07 +08:00
"allowJs": false,
"suppressImplicitAnyIndexErrors": true,
2024-06-10 00:14:21 +08:00
"typeRoots": ["node_modules/@types"],
2024-06-10 09:34:28 +08:00
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"skipLibCheck": true,
/* Bundler mode */
"resolveJsonModule": true,
"isolatedModules": true,
/* Linting */
// "strict": true, 严格模式
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
2024-06-10 00:14:21 +08:00
"paths": {
"#miao": ["./plugins/miao-plugin/components/index.js"],
"#miao.models": ["./plugins/miao-plugin/models/index.js"]
}
2024-06-08 21:07:07 +08:00
},
"ts-node": {
"esm": true,
"transpileOnly": true,
"experimentalSpecifierResolution": "node"
},
2024-06-10 09:34:28 +08:00
"include": ["src", "src-koa", "src-image"]
2024-06-08 21:07:07 +08:00
}