some-tsconfig-preset
v1.5.0
Published
> A preset for tsconfig.json
Downloads
421
Maintainers
Readme
some-tsconfig-preset
A preset for tsconfig.json
Install
npm install -D some-tsconfig-preset
or
pnpm add -D some-tsconfig-preset
Usage
tsconfig.json:
{
"extends": "some-tsconfig-preset",
"include": [
"src/**/*",
"test?s/**/*.ts?x",
"**/*.json",
"*.d.ts"
]
}
{
"extends": "some-tsconfig-preset/workers",
"include": [
"src/**/*",
"test?s/**/*.ts?x",
"**/*.json",
"*.d.ts"
]
}
{
"extends": "some-tsconfig-preset/node",
"include": [
"src/**/*",
"scripts/**/*.ts?x",
"test?s/**/*.ts?x",
"**/*.json",
"*.d.ts"
]
}
Additionally, you can add some-tsconfig-preset/strict
to forbid unused variables and parameters.