My personal types in js focused tsconfig bases.
Are meant to be used with javascript code, not typescript code, hence they're having eg. noEmit: true
set.
npm install --save-dev @voxpelli/tsconfig
Then in your tsconfig.json
, it extends
the chosen base config:
{
"extends": "@voxpelli/tsconfig/node20.json",
"files": [
"index.js"
],
"include": [
"test/**/*",
]
}
-
base
– where most of the configuration is set -
legacy
– likebase
but for older TypeScript versions – version 4.5 and onward -
recommended
– likebase
but adds atarget
set toES2015
These extends base
with the correct lib
and target
for the node.js version.
Inspired by tsconfig/bases.
Absolutely, my pleasure!
Just as with voxpelli/eslint-config I follow Semantic Versioning and thus won't do any breaking changes in any non-major releases.
Give me a ping if you use it, would be a delight to know you like it 🙂
- voxpelli/eslint-config – the reusable ESLint setup I use in my projects
- voxpelli/ghatemplates – the reusable GitHub Actions workflows I use in my projects
- voxpelli/renovate-config-voxpelli – the reusable Renovate setup I use in my projects