mirror of
https://github.com/robonen/tools.git
synced 2026-03-20 02:44:45 +00:00
28 lines
534 B
Markdown
28 lines
534 B
Markdown
# @robonen/tsconfig
|
|
|
|
Shared base TypeScript configuration.
|
|
|
|
## Install
|
|
|
|
```bash
|
|
pnpm install -D @robonen/tsconfig
|
|
```
|
|
|
|
## Usage
|
|
|
|
Extend from it in your `tsconfig.json`:
|
|
|
|
```json
|
|
{
|
|
"extends": "@robonen/tsconfig/tsconfig.json"
|
|
}
|
|
```
|
|
|
|
## What's Included
|
|
|
|
- **Target / Module**: ESNext with Bundler resolution
|
|
- **Strict mode**: `strict`, `noUncheckedIndexedAccess`
|
|
- **Module safety**: `verbatimModuleSyntax`, `isolatedModules`
|
|
- **Declarations**: `declaration` enabled
|
|
- **Interop**: `esModuleInterop`, `allowJs`, `resolveJsonModule`
|