tessl install tessl/npm-eslint-plugin-regexp@2.10.0ESLint plugin for finding RegExp mistakes and RegExp style guide violations.
Agent Success
Agent success rate when using this tile
82%
Improvement
Agent success rate improvement when using this tile compared to baseline
0.96x
Baseline
Agent success rate without this tile
85%
{
"context": "Evaluates how the solution uses eslint-plugin-regexp to apply autofixes and surface suggestions while switching between recommended and full rule presets. It expects reliance on ESLint's Node API plus the plugin's configs and rule metadata instead of manual regex rewrites.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Plugin setup",
"description": "ESLint is instantiated with the eslint-plugin-regexp plugin configured (plugins entry or flat config import) and uses package configs such as plugin:regexp/recommended or regexp.configs[\"flat/recommended\"] as the default rule set.",
"max_score": 20
},
{
"name": "Autofix usage",
"description": "Autofixes are applied through ESLint's fix pipeline (ESLint.lintText/lintFiles with fix: true) so regex fixes come from plugin rules like regexp/no-useless-character-class or regexp/no-useless-flag rather than manual string edits.",
"max_score": 25
},
{
"name": "Suggestion handling",
"description": "Findings from plugin rules that offer suggestions (meta.hasSuggestions true, e.g., regexp/no-missing-g-flag or regexp/prefer-named-capture-group) are captured with ruleId and message, and optional suggestion application uses ESLint fixTypes including \"suggestion\" when applySuggestions is enabled.",
"max_score": 20
},
{
"name": "Preset toggle",
"description": "The implementation switches between plugin:regexp/recommended and the broader all/flat/all configs so that stricter mode runs more regex rules, affecting the counts of applied fixes and suggestions.",
"max_score": 15
},
{
"name": "Rule metadata",
"description": "Rule meta from eslint-plugin-regexp (e.g., rules[ruleId].meta.fixable or .hasSuggestions) is used to categorize results or reporting instead of hardcoded rule lists.",
"max_score": 10
},
{
"name": "Result detail",
"description": "Each applied fix and suggestion reported in the API output includes the originating regexp/* ruleId and the plugin-provided message extracted from ESLint results.",
"max_score": 10
}
]
}