CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-flow-remove-types

Fast, zero-configuration Flow type annotation removal tool for JavaScript with CLI and programmatic APIs

84

1.09x
Overview
Eval results
Files

rubric.jsonevals/scenario-5/

{
  "context": "This criteria evaluates how well the engineer uses the flow-remove-types package to implement directory processing with file extension filtering. The focus is on proper use of the package's CLI capabilities or programmatic API, particularly the extension filtering features.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses flow-remove-types",
      "description": "Uses the flow-remove-types package to remove Flow type annotations from source code",
      "max_score": 25
    },
    {
      "name": "Extension filtering",
      "description": "Implements extension filtering using flow-remove-types' --extensions (-x) CLI flag or equivalent programmatic approach to filter files by extension",
      "max_score": 30
    },
    {
      "name": "Directory processing",
      "description": "Uses flow-remove-types' --out-dir (-d) flag or equivalent to process entire directories recursively",
      "max_score": 20
    },
    {
      "name": "Default extensions",
      "description": "Correctly handles the default extension list (.js,.mjs,.cjs,.jsx,.flow,.es6) when no extensions are specified",
      "max_score": 15
    },
    {
      "name": "Output handling",
      "description": "Properly configures output directory handling using flow-remove-types features to write transformed files to the specified output location",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-flow-remove-types

tile.json