A base TSConfig for working with Node 14.
84
{
"context": "This evaluation assesses how well the engineer understands and applies TypeScript module system configuration patterns, particularly the appropriate pairing of module and moduleResolution settings for different runtime environments, as demonstrated in packages like @tsconfig/node14.",
"type": "weighted_checklist",
"checklist": [
{
"name": "CommonJS Configuration",
"description": "Uses 'commonjs' for the module option when generating legacy-node configuration, matching the CommonJS module system used by older Node.js applications",
"max_score": 15
},
{
"name": "Node Resolution Strategy",
"description": "Uses 'node' or 'node10' for moduleResolution when generating legacy-node configuration, appropriate for Node.js CommonJS module resolution",
"max_score": 15
},
{
"name": "Modern Node Module",
"description": "Uses 'node16' or 'nodenext' for the module option when generating modern-node configuration, enabling ESM support with package.json 'type' field awareness",
"max_score": 15
},
{
"name": "Modern Node Resolution",
"description": "Uses 'node16' or 'nodenext' for moduleResolution when generating modern-node configuration, matching the module system for modern ESM-aware Node.js resolution",
"max_score": 15
},
{
"name": "Bundler Module Setting",
"description": "Uses 'esnext' or 'es2015' or higher ES target for the module option when generating bundler configuration, appropriate for modern build tools",
"max_score": 10
},
{
"name": "Bundler Resolution Strategy",
"description": "Uses 'bundler' for moduleResolution when generating bundler configuration, utilizing the specialized resolution strategy for modern bundlers like Vite and Webpack",
"max_score": 15
},
{
"name": "Compatibility Validation",
"description": "Implements validation logic that correctly identifies compatible module/moduleResolution pairs (e.g., commonjs+node, node16+node16, esnext+bundler)",
"max_score": 10
},
{
"name": "Incompatibility Detection",
"description": "Implements validation logic that correctly identifies incompatible module/moduleResolution pairs (e.g., mismatched modern and legacy settings)",
"max_score": 5
}
]
}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