@pcode-at/tsconfig

A shared TypeScript configuration I use across my projects.

Usage no npm install needed!

<script type="module">
  import pcodeAtTsconfig from 'https://cdn.skypack.dev/@pcode-at/tsconfig';
</script>

README

@pcode-at/tsconfig

A shared TypeScript configuration for pcode projects based on @seancroach/tsconfig.

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 @pcode-at/tsconfig through npm:

$ npm install --save-dev @pcode-at/tsconfig

Usage

In your tsconfig.json file, extend @pcode-at/tsconfig using the extends field:

{
    "extends": "@pcode-at/tsconfig"
    // ...
}

License

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