CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-babel--plugin-proposal-object-rest-spread

Babel plugin that transforms ECMAScript object rest and spread syntax into ES5-compatible code.

85

1.06x

Quality

Pending

Does it follow best practices?

Impact

85%

1.06x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

rubric.jsonevals/scenario-3/

{
  "context": "This criteria evaluates how well the engineer uses @babel/standalone to transform modern JavaScript and JSX in a browser environment. The focus is on correct usage of the transformation API, appropriate preset configuration, and proper error handling.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses Babel.transform",
      "description": "Uses the Babel.transform() method from @babel/standalone to perform code transformations",
      "max_score": 30
    },
    {
      "name": "Configures env preset",
      "description": "Includes and correctly configures the 'env' preset (or 'es2015') to transform modern JavaScript features like arrow functions and const/let",
      "max_score": 25
    },
    {
      "name": "Configures react preset",
      "description": "Includes and correctly configures the 'react' preset to transform JSX syntax",
      "max_score": 25
    },
    {
      "name": "Handles transformation errors",
      "description": "Properly catches and returns errors from Babel.transform(), including error message and location information",
      "max_score": 20
    }
  ]
}

tile.json