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 effectively the engineer uses Babel's module transformation capabilities to convert JavaScript code between different module formats. The focus is on proper usage of @babel/core and its module transformation plugins.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses @babel/core",
"description": "Uses @babel/core's transform or transformSync method to perform code transformations",
"max_score": 20
},
{
"name": "CommonJS transformation",
"description": "Correctly uses @babel/plugin-transform-modules-commonjs to transform ES modules to CommonJS format",
"max_score": 20
},
{
"name": "AMD transformation",
"description": "Correctly uses @babel/plugin-transform-modules-amd to transform ES modules to AMD format",
"max_score": 20
},
{
"name": "UMD transformation",
"description": "Correctly uses @babel/plugin-transform-modules-umd to transform ES modules to UMD format",
"max_score": 20
},
{
"name": "Plugin configuration",
"description": "Properly configures Babel with the appropriate plugins array based on target format, passing plugins to the transform method options",
"max_score": 15
},
{
"name": "Code property usage",
"description": "Correctly extracts the transformed code from Babel's result object using the 'code' property",
"max_score": 5
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10