@seancroach/tsconfig

A shared TypeScript configuration I use across my projects.

Usage no npm install needed!

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

README

@seancroach/tsconfig

build status downloads

A shared TypeScript configuration I use across my projects.

Highlights

  • Enables strict options which enforce type safety
  • Enables linting options which enforce a higher quality of code
  • Enables importing .json files directly within TypeScript
  • Targets Node v10 to ensure compatibility with all active LTS Node versions

Of course, you could write all the configurations yourself, but why do that when it's already right here to use!

Installation

Install @seancroach/tsconfig through npm:

$ npm install --save-dev @seancroach/tsconfig

Usage

In your tsconfig.json file, extend @seancroach/tsconfig using the extends field:

{
  "extends": "@seancroach/tsconfig"
  // ...
}

License

This package is available as open source under the terms of the MIT License.