CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-babel-plugin-transform-es2015-literals

Babel plugin that compiles ES2015 unicode string and number literals to ES5

86

0.97x
Overview
Eval results
Files

rubric.jsonevals/scenario-6/

{
  "context": "This evaluation assesses how well the engineer uses @babel/preset-env to automatically include ES2015 literal transformations based on target browser environments, demonstrating understanding of Babel's target-based plugin inclusion mechanism.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "@babel/preset-env usage",
      "description": "Uses @babel/preset-env in the Babel configuration structure (presets array) rather than manually specifying @babel/plugin-transform-literals",
      "max_score": 30
    },
    {
      "name": "Target specification",
      "description": "Properly configures the 'targets' option within @babel/preset-env configuration to accept and use the provided browser/environment targets array",
      "max_score": 25
    },
    {
      "name": "Configuration structure",
      "description": "Returns a valid Babel configuration object with the correct structure (includes 'presets' property with properly nested preset configuration)",
      "max_score": 20
    },
    {
      "name": "Automatic inclusion logic",
      "description": "Demonstrates understanding that @babel/preset-env automatically determines whether to include @babel/plugin-transform-literals based on the specified targets (no manual plugin inclusion needed)",
      "max_score": 25
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-babel-plugin-transform-es2015-literals

tile.json