A base TSConfig for working with Node 14.
84
{
"context": "This criteria evaluates how well the engineer uses the @tsconfig/bases package to configure TypeScript for different Node.js runtime versions. The focus is on whether they leverage the pre-configured packages (@tsconfig/node14, @tsconfig/node20, @tsconfig/node22, etc.) rather than manually configuring compiler options.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses @tsconfig/bases packages",
"description": "The solution imports and uses configuration packages from @tsconfig/bases (e.g., @tsconfig/node14, @tsconfig/node20, @tsconfig/node22) rather than manually defining all compiler options",
"max_score": 40
},
{
"name": "Extends package configs",
"description": "The generated tsconfig.json files use the 'extends' field to extend from @tsconfig packages (e.g., 'extends': '@tsconfig/node20/tsconfig.json')",
"max_score": 30
},
{
"name": "Handles version mapping",
"description": "The solution correctly maps Node.js version inputs (10-24) to the appropriate @tsconfig/nodeX package",
"max_score": 20
},
{
"name": "Supports LTS mode",
"description": "The solution uses @tsconfig/node-lts package or equivalent logic when 'lts' is specified as the version",
"max_score": 10
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-tsconfig--node14docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10