Opinionated TSConfig base configs.
Base config | Description |
---|---|
node-lts | Node.js LTS version |
node-lts-strict | Node.js LTS version, strict rules |
node-lts-strict-esm | Node.js LTS version, strict rules with ESM compilation |
graph TD;
node-lts --> node-lts-strict --> node-lts-strict-esm
$ npm install @valtech-commerce/tsconfig
Add configuration base to your tsconfig.json
:
{
"extends": "@valtech-commerce/tsconfig/base/[BASE_CONFIG]"
}
- @tsconfig/node-lts - Base configuration for the current LTS version of Node.js
- Enables sourceMap by default
- Configures tsconfig-paths for ts-node
- @tsconfig/node-lts-strictest - Base configuration for the current LTS version of Node.js with strict rules
- Disables some rules by default
- @tsconfig/node-lts-strictest-esm - Base configuration for the current LTS version of Node.js with strict rules compiles to ESM
See the Changelog to see what has changed.
See the Contributing Guidelines for ways to get started.
See the Support Guide for ways to get help.
See the Security Policy for sharing vulnerability reports.
This project has a Code of Conduct. By interacting with this repository, organization, or community you agree to abide by its terms.