A base TSConfig for working with Node 14.
84
{
"context": "This evaluation assesses how well the engineer understands and utilizes the @tsconfig/bases package to work with TypeScript base configurations. Focus is on knowing which configurations support experimental features (decorators) and legacy targets, and properly using the package's extension mechanism.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Package reference format",
"description": "Uses correct @tsconfig package reference format '@tsconfig/<name>/tsconfig.json' (e.g., '@tsconfig/node10/tsconfig.json', '@tsconfig/taro/tsconfig.json') in extends field",
"max_score": 20
},
{
"name": "Legacy config knowledge",
"description": "Correctly identifies that node10, qjsengine, cypress, and older Node versions (node10-node14) are legacy configurations with ES5 target or CommonJS modules",
"max_score": 25
},
{
"name": "Decorator config knowledge",
"description": "Correctly identifies that ember and taro configurations support experimentalDecorators, as these frameworks require decorator support",
"max_score": 25
},
{
"name": "Extends field usage",
"description": "Properly structures tsconfig.json with 'extends' field as a string value pointing to a @tsconfig base configuration",
"max_score": 15
},
{
"name": "Config name mapping",
"description": "Returns appropriate @tsconfig/bases package names (e.g., 'node10', 'taro', 'ember') based on feature requirements, demonstrating understanding of the available base configurations",
"max_score": 15
}
]
}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