Skip to content
This repository has been archived by the owner on Sep 19, 2022. It is now read-only.
/ tsconfig Public archive

A shared TypeScript configuration I use across my projects.

License

Notifications You must be signed in to change notification settings

seancroach/tsconfig

Repository files navigation

@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.