CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-jsx-ast-utils

AST utility module for statically analyzing JSX

50

1.42x
Quality

Pending

Does it follow best practices?

Impact

50%

1.42x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-1/

{
  "context": "Evaluates how well the solution leverages jsx-ast-utils to extract JSX attribute values. Focuses on using getPropValue and related helpers to log unsupported expression node types and return null without throwing.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Value extraction",
      "description": "Uses jsx-ast-utils getPropValue to resolve literal and expression container values for JSXAttribute nodes instead of manual AST inspection.",
      "max_score": 40
    },
    {
      "name": "Unknown handling",
      "description": "Relies on getPropValue's behavior to log unsupported expression node types and treats those results as null without throwing, forwarding the log message to the provided logger.",
      "max_score": 30
    },
    {
      "name": "Name resolution",
      "description": "Derives attribute names with jsx-ast-utils propName (or equivalent helper) when building the map in collectPropValues, not manual string access.",
      "max_score": 15
    },
    {
      "name": "Continues scanning",
      "description": "Iterates through attributes using jsx-ast-utils helpers while continuing after null results so supported attributes are still evaluated.",
      "max_score": 15
    }
  ]
}

tile.json