Babel plugin that transforms ECMAScript object rest and spread syntax into ES5-compatible code.
85
Quality
Pending
Does it follow best practices?
Impact
85%
1.06xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"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
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10