@amaurym/tsconfig

Mostly common-sense configuration for tsconfig

Usage no npm install needed!

<script type="module">
  import amaurymTsconfig from 'https://cdn.skypack.dev/@amaurym/tsconfig';
</script>

README

npm License code style: prettier dependencies Status Buy me a tree

@amaurym/tsconfig

💯 Mostly common-sense configuration files for tsconfig.

🚀 Get Started

In your project's root folder:

yarn add --dev @amaurym/tsconfig

And in your own tsconfig.json, add:

{
  "extends": "./node_modules/@amaurym/tsconfig/tsconfig"
}

📖 Included Rules

I try to use as much defaults from the TypeScript team as possible, but I find --strict to be really useful to have elegant code.

{
  "compilerOptions": {
    "esModuleInterop": true,
    "strict": true
  }
}