2.0.0 • Published 8 months ago
robins-tsconfig v2.0.0
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 includeandexcludeyourself
- it assumes you're building for the browser; change libif you're not
- if you want to compile via tsc, overridenoEmitandoutDir
you can check out the full config here.