An open API service indexing awesome lists of open source software.

https://github.com/bozerkins/tsconfig-base

tsconfig base for your typescript projects
https://github.com/bozerkins/tsconfig-base

Last synced: 4 months ago
JSON representation

tsconfig base for your typescript projects

Awesome Lists containing this project

README

        

# TSConfig base

Hosts TSConfig base that I personally use for my TS projects.
The base has very strict rules, that drive strictly typed, good quality code.

## How to use

Install:

```sh
# npm installation
npm install --save-dev @bozerkins/tsconfig-base

# yarn installation
yarn add --dev @bozerkins/tsconfig-base
```

Add to your `tsconfig.json`:

```json
"extends": "@bozerkins/tsconfig-base/tsconfig.json"
```

## Example tsconfig.json

```json
{
"extends": "@bozerkins/tsconfig-base/tsconfig.json",
"compilerOptions": {
"baseUrl": "./",
"module": "CommonJS",
"target": "ES2022"
},
"exclude": ["node_modules"]
}
```