tsconfig-oy
v1.1.0
Published
Shared TypeScript config for my projects
Downloads
10
Maintainers
Readme
tsconfig-oy
Shared TypeScript config for my projects.
This module embraces:
- ESM
- Node v12+
- ES2019, ES2020
Installation
$ npm install --save-dev tsconfig-oy
Usage
tsconfig.json
{
"extends": "tsconfig-oy",
"compilerOptions": {
"baseUrl": ".",
"declarationDir": "lib",
"outDir": "lib",
// ...
},
// ...
}
When you are targeting a higher version of Node.js, check the relevant ECMAScript version and add it as target
:
{
"extends": "tsconfig-oy",
"compilerOptions": {
"target": "ES2021",
// ...
},
// ...
}
Related projects
eslint-config-oy
(Use this instead oftslint
.)