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
- Host: GitHub
- URL: https://github.com/bozerkins/tsconfig-base
- Owner: bozerkins
- License: mit
- Created: 2022-08-19T08:46:45.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-31T16:58:49.000Z (almost 3 years ago)
- Last Synced: 2025-02-19T14:41:20.283Z (4 months ago)
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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"]
}
```