@comment-labs/tsconfig
v1.0.0-beta.0
Published
Base tsconfig for comment-labs packages
Readme
@comment-labs/tsconfig
Base TypeScript configurations for comment-labs projects.
Installation
pnpm add -D @comment-labs/tsconfig typescriptUsage
Extend one of the preset configurations in your tsconfig.json:
{
"extends": "@comment-labs/tsconfig/node",
"compilerOptions": {
"paths": {
"#/*": ["./src/*"]
}
},
"include": ["src/**/*", "*.ts"]
}Available Presets
@comment-labs/tsconfig/base- Base configuration for any project@comment-labs/tsconfig/node- Node.js projects@comment-labs/tsconfig/react- React web projects@comment-labs/tsconfig/react-native- React Native / Expo projects@comment-labs/tsconfig/workers- Cloudflare Workers
Base Configuration Features
- ES2023 target
- Strict type checking enabled
- Bundler module resolution
- Isolated modules
- Import path aliasing support (
#/*)
