@basenative/tsconfig
v3.3.0
Published
Shared base tsconfigs for DuganLabs projects — strict, modern, runtime-targeted
Maintainers
Readme
@basenative/tsconfig
Shared base tsconfigs for DuganLabs projects. Strict, modern, runtime-targeted.
Install
pnpm add -D @basenative/tsconfigUse
Pick the variant matching your runtime in tsconfig.json:
{ "extends": "@basenative/tsconfig/base" }{ "extends": "@basenative/tsconfig/browser" }{ "extends": "@basenative/tsconfig/node" }{ "extends": "@basenative/tsconfig/worker" }{ "extends": "@basenative/tsconfig/react" }Then add your own include / exclude and any project-specific overrides.
What's in base
target: ES2022,module: ESNext,moduleResolution: Bundlerstrict: trueplus the modern strictness extras:noUncheckedIndexedAccess,noImplicitOverride,noFallthroughCasesInSwitch,exactOptionalPropertyTypesverbatimModuleSyntax,isolatedModules,esModuleInteropallowJs: true(DuganLabs projects mix JS + TS)skipLibCheck: true,forceConsistentCasingInFileNames: true
Links
- BaseNative monorepo — https://github.com/DuganLabs/basenative
- Issues — https://github.com/DuganLabs/basenative/issues
- Docs — https://github.com/DuganLabs/basenative#readme
License
Apache-2.0
