@valtech-commerce/tsconfig
v1.0.0
Published
Valtech_Commerce TSConfig configurations
Downloads
3
Keywords
Readme
@valtech-commerce/tsconfig
Opinionated TSConfig base configs.
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 |
Dependency tree
graph TD;
node-lts --> node-lts-strict --> node-lts-strict-esm
Install
$ npm install @valtech-commerce/tsconfig
Usage
Add configuration base to your tsconfig.json
:
{
"extends": "@valtech-commerce/tsconfig/base/[BASE_CONFIG]"
}
Specifications
node-lts
Used configuration
- @tsconfig/node-lts - Base configuration for the current LTS version of Node.js
Extra
- Enables sourceMap by default
- Configures tsconfig-paths for ts-node
node-lts-strict
Used configuration
- @tsconfig/node-lts-strictest - Base configuration for the current LTS version of Node.js with strict rules
Extra
- Disables some rules by default
node-lts-strict-esm
Used configuration
- @tsconfig/node-lts-strictest-esm - Base configuration for the current LTS version of Node.js with strict rules + compiles to ESM
Documentation
See the Changelog to see what has changed.
Contribute
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.