Hosts TSConfig base that I personally use for my TS projects. The base has very strict rules, that drive strictly typed, good quality code.
Install:
# npm installation
npm install --save-dev @bozerkins/tsconfig-base
# yarn installation
yarn add --dev @bozerkins/tsconfig-base
Add to your tsconfig.json
:
"extends": "@bozerkins/tsconfig-base/tsconfig.json"
{
"extends": "@bozerkins/tsconfig-base/tsconfig.json",
"compilerOptions": {
"baseUrl": "./",
"module": "CommonJS",
"target": "ES2022"
},
"exclude": ["node_modules"]
}