Babel helper functions for inserting module loads
Overall
score
99%
{
"context": "This evaluation assesses how effectively the engineer uses @babel/types validator functions to check AST node types. The focus is on proper usage of specific validators (like isIdentifier) and alias validators (like isExpression, isStatement, isDeclaration, isConditional) from the @babel/types package.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses isIdentifier",
"description": "Correctly uses the isIdentifier() function from @babel/types to check if a node is an identifier",
"max_score": 20
},
{
"name": "Uses isExpression",
"description": "Correctly uses the isExpression() alias validator from @babel/types to check if a node is an expression",
"max_score": 20
},
{
"name": "Uses isStatement",
"description": "Correctly uses the isStatement() alias validator from @babel/types to check if a node is a statement",
"max_score": 20
},
{
"name": "Uses isDeclaration",
"description": "Correctly uses the isDeclaration() alias validator from @babel/types to check if a node is a declaration",
"max_score": 20
},
{
"name": "Uses isConditional",
"description": "Correctly uses the isConditional() alias validator from @babel/types to check if a node is a conditional statement",
"max_score": 20
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-babel--helper-module-importsevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10