README
@baliestri/tsconfig
Shared configuration for TypeScript. Commonly used by myself, but made available for your use.
Usage
Shareable configs are designed to work with the
extendsfeature oftsconfig.jsonfiles.
It's necessary install the package dependencies, run the following command:
# NPM
$ npm install --save-dev typescript tslib
# Yarn
$ yarn add --dev typescript tslib
Then, add this to your tsconfig.json file:
{
"extends": "@baliestri/tsconfig",
"compilerOptions": {
// Your options here...
}
}
Note: If you try to click the configuration forward link, an error will occur, as TypeScript looks directly for a JSON file.
Licence
This project is licensed under the MIT license. Please see the license file for more information. tl;dr you can do whatever you want as long as you include the original copyright and license notice in any copy of the software/source.