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-1/

{
  "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
    }
  ]
}

tile.json