A base TSConfig for working with Node 14.
84
{
"context": "This criteria evaluates how well the engineer uses @tsconfig/bases package features to implement a configuration helper tool. The focus is on proper usage of base configuration packages, understanding of the extends mechanism, and utilization of metadata fields that enhance developer experience.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Package Installation",
"description": "Correctly installs and imports from @tsconfig/bases or its sub-packages (e.g., @tsconfig/node-lts, @tsconfig/strictest). Should use proper package names like '@tsconfig/node-lts' or '@tsconfig/bases/node-lts'.",
"max_score": 15
},
{
"name": "Extends Field Usage",
"description": "Generates configurations that use the 'extends' field to reference base configurations. Should produce values like '@tsconfig/node-lts/tsconfig.json' or '@tsconfig/bases/node-lts' depending on installation approach.",
"max_score": 25
},
{
"name": "Schema Field",
"description": "Includes the '$schema' field in generated configurations to enable IDE validation and autocomplete. Should reference the TypeScript JSON schema URL (e.g., 'https://json.schemastore.org/tsconfig').",
"max_score": 15
},
{
"name": "Multiple Base Support",
"description": "Correctly handles different environment options (node-lts, node22, strictest, recommended) by mapping them to their corresponding @tsconfig/bases packages.",
"max_score": 20
},
{
"name": "Metadata Extraction",
"description": "Extracts or references metadata fields (display, docs, _deprecated) from the base configurations when the addMetadata option is enabled. Shows understanding of @tsconfig/bases metadata structure.",
"max_score": 15
},
{
"name": "Configuration Validation",
"description": "Implements validateConfig function that checks for presence of 'extends' field and verifies it references a valid @tsconfig/bases package.",
"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