README
@voxpelli/tsconfig
My personal types in js focused tsconfig bases.
Are meant to be used with javascript code, not typescript code, having eg. noEmit: true
set.
Usage
npm install --save-dev @voxpelli/tsconfig
Then in your tsconfig.json
, it extends
the chosen base config:
{
"extends": "@voxpelli/tsconfig/node14.json",
"files": [
"index.js"
],
"include": [
"test/**/*",
]
}
Available configs
Generic ones
base
– where most of the configuration is setrecommended
– likebase
but adds atarget
set toES2015
Node specific ones
Extends base
and adds the correct lib
and target
for that version of node.js.
Inspired by tsconfig/bases.
node16
node14
node12
Can I use this in my own project?
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 🙂
Alternatives
See also
- voxpelli/eslint-config – the shareable ESLint setup I use in my projects
- voxpelli/ghatemplates – the templates I use with
ghat
to update GitHub Actions in my projects - voxpelli/renovate-config-voxpelli – the shareable Renovate setup I use in my projects