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

Our base tsconfig for all of our Typescript projects

License

Notifications You must be signed in to change notification settings

onezerocompany/tsconfig

Repository files navigation

OneZero's tsconfig for Node.js

npm version Testing CodeQL FOSSA Status

TSConfig template for our Node-based projects

We have many projects based on Node.js and Typescript, which all use the same tsconfig.json. That's why, instead of having to maintain all these individual configs, we decided to move the configuration here.

If you are interested in using this config file for your projects, we will explain some reasoning behind the config and what you can expect it to do in the future.

  1. Follows each LTS version of Node.js
  2. Uses node module resolution

How to use

First, install this package inside your project:

npm install --save-dev @onezerocompany/tsconfig-node

Then inside your tsconfig.json, add the extends value like so:

{
  "extends": "@onezerocompany/tsconfig-node/tsconfig.json"
}

FOSSA Status

This project is licensed under the terms of the MIT license.