A base TSConfig for working with Node 14.
84
{
"context": "This criteria evaluates how well an engineer demonstrates understanding and usage of cutting-edge TypeScript compiler features (5.7+, 5.8+) from @tsconfig/bases, specifically focusing on modern options like rewriteRelativeImportExtensions, erasableSyntaxOnly, verbatimModuleSyntax, noUncheckedSideEffectImports, and allowImportingTsExtensions.",
"type": "weighted_checklist",
"checklist": [
{
"name": "rewriteRelativeImportExtensions detection",
"description": "Correctly identifies and validates the rewriteRelativeImportExtensions option as a TypeScript 5.7+ feature, checking its presence and value in the configuration object",
"max_score": 15
},
{
"name": "erasableSyntaxOnly detection",
"description": "Correctly identifies and validates the erasableSyntaxOnly option as a TypeScript 5.8+ feature, checking its presence and value in the configuration object",
"max_score": 15
},
{
"name": "verbatimModuleSyntax detection",
"description": "Correctly identifies and validates the verbatimModuleSyntax option, understanding its role in enforcing explicit type-only imports for better tree-shaking",
"max_score": 10
},
{
"name": "noUncheckedSideEffectImports detection",
"description": "Correctly identifies and validates the noUncheckedSideEffectImports option as a TypeScript 5.9+ feature",
"max_score": 10
},
{
"name": "allowImportingTsExtensions detection",
"description": "Correctly identifies and validates the allowImportingTsExtensions option and understands its use in bundler environments",
"max_score": 10
},
{
"name": "Version compatibility checking",
"description": "Implements proper version comparison logic to validate that the TypeScript version meets the minimum requirements for each cutting-edge feature (5.7+ for rewriteRelativeImportExtensions, 5.8+ for erasableSyntaxOnly, 5.9+ for noUncheckedSideEffectImports)",
"max_score": 20
},
{
"name": "Configuration structure validation",
"description": "Properly validates the structure of TypeScript configuration objects, handling cases like empty configs, missing compilerOptions, and basic configurations",
"max_score": 10
},
{
"name": "Recommendations engine",
"description": "Provides intelligent recommendations for enabling modern features (e.g., suggesting verbatimModuleSyntax for tree-shaking, warning about missing noEmit with allowImportingTsExtensions)",
"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