@kokoro/antmjs-vantui
Version:
一套适用于Taro3及React的vantui组件库
56 lines (55 loc) • 1.6 kB
JSON
{
"compilerOptions": {
/** type checking */
"strict": true,
// 默认false,是否检测定义了但是没使用的变量
"noUnusedLocals": true,
// 用于检查是否有在函数体中没有使用的参数
"noUnusedParameters": true,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": false,
"noImplicitReturns": true,
"noImplicitAny": false,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"downlevelIteration": true,
/** module */
"baseUrl": "./",
"module": "commonjs",
// default: module === AMD or UMD or System or ES6, then Classic otherwise Node
"moduleResolution": "Node",
"target": "es5",
"lib": ["ESNext", "dom"],
/** emit */
"noEmit": true,
/** Interop Constraints */
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
// "isolatedModules": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"jsx": "react-jsx",
"skipLibCheck": false,
"resolveJsonModule": true,
"paths": {
// 指定模块的路径,和baseUrl有关联,和webpack中resolve.alias配置一样
"@/*": ["./src/*"]
}
},
"include": [
"./src",
"./global.d.ts",
"./types",
"./babel.config.js",
"./eslint.config.js",
"./lint-staged.config.js",
"./stylelint.config.js",
"./vant.config.js",
"./_antm.config.js",
"./antm.config.ts"
],
"compileOnSave": false
}