mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-19 05:02:40 +08:00
Deep scan is not compatible with TS 4.9 yet. And the only issues it seems to find that are not covered yet by TS or ESLint are unused imports. TSC can catch those by enabling noUnusedLocals in tsconfig.
57 lines
1.1 KiB
JSON
57 lines
1.1 KiB
JSON
{
|
|
"compileOnSave": false,
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"incremental": false,
|
|
"noImplicitAny": true,
|
|
"jsx": "react",
|
|
"moduleResolution": "Node",
|
|
"target": "ES2020",
|
|
"module": "CommonJS",
|
|
"skipLibCheck": false,
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"isolatedModules": true,
|
|
"strictBindCallApply": true,
|
|
"lib": [
|
|
"dom",
|
|
"esnext"
|
|
],
|
|
"types": [
|
|
"node",
|
|
"jest"
|
|
],
|
|
"strict": false,
|
|
"strictNullChecks": false,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"resolveJsonModule": true,
|
|
"paths": {
|
|
"verdaccio": [
|
|
"./typings.d.ts"
|
|
]
|
|
},
|
|
},
|
|
"exclude": [
|
|
"dist",
|
|
"**/dist",
|
|
"node_modules",
|
|
"**/node_modules"
|
|
],
|
|
"include": [
|
|
"./**/*",
|
|
"./.eslintrc.js"
|
|
],
|
|
"ts-node": {
|
|
"transpileOnly": true,
|
|
"files": true,
|
|
"compilerOptions": {
|
|
"types": [
|
|
"node"
|
|
]
|
|
}
|
|
}
|
|
} |