Matches strings against configurable strings, globs, regular expressions, and/or functions
76
{
"context": "Assesses whether the solution filters strings by fully leveraging anymatch's ability to evaluate string, glob, regex, and predicate matchers. Evaluators check that matching work is delegated to the library rather than reimplemented by hand and that each matcher type is exercised as specified.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Delegates to anymatch",
"description": "Filtering uses the anymatch function (direct call or curried predicate) to decide matches instead of custom matcher implementations.",
"max_score": 25
},
{
"name": "String & glob",
"description": "Literal strings and glob patterns from the matcher list are passed through anymatch so both exact and globbed inputs match as expected.",
"max_score": 20
},
{
"name": "RegExp matchers",
"description": "RegExp criteria are supplied to anymatch and relied upon for matching rather than manual `.test` loops.",
"max_score": 20
},
{
"name": "Predicate matchers",
"description": "Function matchers are included in the anymatch matcher collection and invoked through the library to accept or reject entries.",
"max_score": 20
},
{
"name": "Mixed matcher array",
"description": "Mixed matcher arrays are evaluated through a single anymatch matcher set so multiple matcher types can combine without ad-hoc branching.",
"max_score": 15
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-anymatch