A base TSConfig for working with Node 14.
84
{
"context": "This evaluation assesses how effectively the engineer uses @tsconfig/bases package to generate framework-specific TypeScript configurations. The focus is on proper usage of the package's base configurations, applying the extends mechanism, and implementing framework-specific features like path aliases, include/exclude patterns, and plugins.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Extends Next.js base",
"description": "Uses the @tsconfig/bases package to extend the Next.js base configuration by setting extends to '@tsconfig/bases/nextjs' or equivalent Next.js config path",
"max_score": 15
},
{
"name": "Next.js include patterns",
"description": "Implements the include array with Next.js-specific patterns including 'next-env.d.ts', TypeScript/TSX source files, and '.next/types' directory",
"max_score": 10
},
{
"name": "Next.js plugin configuration",
"description": "Configures the plugins array with the Next.js plugin by adding an object with name property set to 'next'",
"max_score": 10
},
{
"name": "Extends Remix base",
"description": "Uses the @tsconfig/bases package to extend the Remix base configuration by setting extends to '@tsconfig/bases/remix' or equivalent Remix config path",
"max_score": 15
},
{
"name": "Remix path aliases",
"description": "Implements the paths compiler option with the Remix-specific '~/*' alias mapping to ['./app/*']",
"max_score": 10
},
{
"name": "Extends Nuxt base",
"description": "Uses the @tsconfig/bases package to extend the Nuxt base configuration by setting extends to '@tsconfig/bases/nuxt' or equivalent Nuxt config path",
"max_score": 15
},
{
"name": "Nuxt path aliases",
"description": "Implements the paths compiler option with both Nuxt-specific aliases: '~/*' and '@/*' pointing to appropriate directories",
"max_score": 10
},
{
"name": "Nuxt exclude patterns",
"description": "Implements the exclude array with Nuxt-specific patterns including '.nuxt', 'node_modules', and 'dist' directories",
"max_score": 5
},
{
"name": "Multiple extends array",
"description": "Uses TypeScript 5.0+ multiple extends feature by providing an array of base configurations in the extends field for the node-strict configuration",
"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