robins-tsconfig
v1.0.0
Published
this is how i like my typescript projects. you might like it too. 🫱🏼🫲🏽
Downloads
48
Readme
robins-tsconfig
this is how i like my typescript projects. you might like it too. 🫱🏼🫲🏽
a quite strict tsconfig.json
to extend from.
usage
npm i -D robins-tsconfig
{
"extends": "robins-tsconfig",
"include": ["your", "includes", "here"],
"exclude": ["your", "excludes", "here"]
}
good to know
- the config extends from
@tsconfig/strictest
- i borrowed heavily from the tsconfig cheat sheet by matt pocock
- you'll have to set
include
andexclude
yourself - it assumes you're building for the browser; change
lib
if you're not - if you want to compile via
tsc
, overridenoEmit
andoutDir
you can check out the full config here.