Fast, zero-configuration Flow type annotation removal tool for JavaScript with CLI and programmatic APIs
84
{
"context": "This criteria evaluates how well the engineer uses the flow-remove-types package's require hook functionality to set up automatic Flow type transformation. The focus is on correct usage of the register module and its configuration options.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Require hook import",
"description": "Uses require('flow-remove-types/register') to import and enable the transformation hook",
"max_score": 30
},
{
"name": "Hook invocation pattern",
"description": "Correctly invokes the register module by requiring it directly or calling the returned function with options",
"max_score": 25
},
{
"name": "All option usage",
"description": "Properly uses the 'all' option parameter to control transformation of files without @flow pragma",
"max_score": 15
},
{
"name": "Includes pattern usage",
"description": "Correctly uses the 'includes' or 'include' option parameter with RegExp or string pattern to filter files for transformation",
"max_score": 15
},
{
"name": "Excludes pattern usage",
"description": "Correctly uses the 'excludes' or 'exclude' option parameter with RegExp or string pattern to exclude files from transformation",
"max_score": 15
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-flow-remove-typesevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10