1.1.0 • Published 3 years ago
tsconfig-beemo v1.1.0
tsconfig-beemo
Pre-packaged and modern TypeScript tsconfig.jsons. Each config assumes that TypeScript will only
be used as a type checker and not a compiler.
yarn install --dev tsconfig-beemoSetup
Extend the config from your root tsconfig.json.
{
"extends": "tsconfig-beemo/tsconfig.json",
"include": ["src/**/*"]
}Configs only define
compilerOptionsand notinclude,exclude,references, etc.
Features
- First-class support for ECMAScript modules and their syntax.
- Supports synthetic default exports.
- Enables ES interoperability and isolation.
- Enables the
esnextlib. - Targets
es2022(since we only type check).
- Supports project references through the
tsconfig.workspaces.jsonconfig.- Enables declaration emitting.
- Supports React through the
tsconfig.react.jsonconfig.- Enables the
domlib. - Sets JSX transform to
react.
- Enables the
- Strict and performant by default (of course).
- Does not check JavaScript files.