chore: setup typecheck scripts for each package

Signed-off-by: Dmytro Stanchiev <git@dmytros.dev>
This commit is contained in:
2026-04-28 19:37:18 -04:00
parent 79bb249603
commit bf393eacae
7 changed files with 108 additions and 18 deletions

View File

@@ -1,13 +1,34 @@
{
"compilerOptions": {
"lib": ["dom"],
"lib": ["dom", "ESNext"],
"target": "ESNext",
"module": "ESNext",
"module": "preserve",
"moduleResolution": "bundler",
"paths": {
"@/*": ["./src/*"]
},
"strict": true,
"noEmit": true
}
"noEmit": true,
// Environment setup & latest features
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,
// Bundler mode
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
// Best practices
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
// Some stricter flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false
},
"include": ["./src", "./test"]
}