Skip to content

qntx/tsconfig

Repository files navigation

@qntx/tsconfig

Shared TypeScript base configs for QuantX projects.

One package, many ready-to-extend configs under configs/. Forked and reworked from tsconfig/bases.

Install

npm install --save-dev @qntx/tsconfig
pnpm add -D @qntx/tsconfig
bun add -d @qntx/tsconfig
yarn add -D @qntx/tsconfig

Usage

Point extends at a config file in this package:

{
  "extends": "@qntx/tsconfig/configs/node-lts.json"
}

Compose multiple bases (TypeScript 5.0+):

{
  "extends": ["@qntx/tsconfig/configs/strictest.json", "@qntx/tsconfig/configs/node24.json"]
}

Inspect the resolved config:

tsc --showConfig

Paths

Configs ship as real files under the package root (no exports remapping). Always use:

@qntx/tsconfig/configs/<name>.json

Available configs

All configs live in configs/. Common choices:

Config Path
Recommended @qntx/tsconfig/configs/recommended.json
Strictest @qntx/tsconfig/configs/strictest.json
Node LTS @qntx/tsconfig/configs/node-lts.json
Node 24 @qntx/tsconfig/configs/node24.json
Bun @qntx/tsconfig/configs/bun.json
Next.js @qntx/tsconfig/configs/next.json
Vite React @qntx/tsconfig/configs/vite-react.json

Also included: node10node26, node-ts, create-react-app, cypress, deno, docusaurus, ember, nuxt, qjsengine, react-native, remix, svelte, taro.

node-ts

Requires TypeScript 5.8+. Combine with a Node base:

{
  "extends": ["@qntx/tsconfig/configs/node22.json", "@qntx/tsconfig/configs/node-ts.json"]
}

Contributing

See CONTRIBUTING.md for local setup, checks, commits, and release.

License

Licensed under the MIT License (LICENSE or https://opensource.org/licenses/MIT).

This project is derived from tsconfig/bases. Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project shall be under the MIT License, without additional terms or conditions.


A QuantX open-source project.

QuantX

Code is law. We write both.

About

Shareable TypeScript base configs

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Contributors