CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-confusing-browser-globals

A curated list of browser globals that commonly cause confusion and are not recommended to use without an explicit window qualifier

96

1.10x
Quality

Pending

Does it follow best practices?

Impact

96%

1.10x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-7/

{
  "context": "This criteria evaluates how well the engineer understands and utilizes Create React App's TypeScript integration capabilities, specifically the TypeScript compiler API and configuration checking that are central to CRA's parallel type checking feature.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "TypeScript Compiler Usage",
      "description": "Uses the TypeScript compiler API (e.g., ts.createProgram, ts.getPreEmitDiagnostics) to perform type checking instead of spawning external processes",
      "max_score": 30
    },
    {
      "name": "Configuration Detection",
      "description": "Properly checks for tsconfig.json using TypeScript's config file discovery methods (e.g., ts.findConfigFile, ts.readConfigFile, ts.parseJsonConfigFileContent)",
      "max_score": 20
    },
    {
      "name": "Dependency Verification",
      "description": "Verifies TypeScript installation by checking package.json dependencies or node_modules presence",
      "max_score": 10
    },
    {
      "name": "Error Collection",
      "description": "Correctly collects and formats TypeScript diagnostics with file paths and messages using the diagnostic API",
      "max_score": 20
    },
    {
      "name": "File Discovery",
      "description": "Uses appropriate methods to discover TypeScript files (e.g., using parsed tsconfig or glob patterns for .ts/.tsx files)",
      "max_score": 10
    },
    {
      "name": "Result Structure",
      "description": "Returns results matching the specified API structure with success boolean, filesChecked count, and errors array",
      "max_score": 10
    }
  ]
}

tile.json