@carnesen/tsconfig
v0.5.0
Published
TypeScript configuration for @carnesen projects
Downloads
29
Readme
@carnesen/tsconfig
TypeScript configurations for @carnesen
projects
Install
npm install --save-dev typescript @carnesen/tsconfig
Usage
These instructions assume that you're using TypeScript >=3.2 with support for "tsconfig.json inheritance via Node.js packages".
Create a file tsconfig.json
at the root of your project with contents:
{
"extends": "@carnesen/tsconfig"
}
Add your own compilerOptions
or any other properties described here in the TypeScript docs.
The @carnesen/tsconfig
base configuration sets some desirable non-default values such as "strict": true
. It also enumerates as comments most of the other available configuration options. The base configuration can be used directly as "extends": "@carnesen/tsconfig"
. The configuration sets "es2020" as the compiler target, suitable for use with Node.js >=14 or modern browsers.
More information
If you encounter any bugs or have any questions or feature requests, please don't hesitate to file an issue or submit a pull request on this project's repository on GitHub.
Related
- @carnesen/eslint-config: ESLint configurations for
@carnesen
projects
License
MIT © Chris Arnesen