ESLint plugin for finding RegExp mistakes and RegExp style guide violations.
82
{
"context": "Evaluates whether the solution builds and uses an ESLint flat config around eslint-plugin-regexp to optimize lookarounds and quantifiers. Checks focus on enabling the correct plugin rules, honoring severity controls, and running linting through ESLint rather than custom regex parsing.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Plugin base",
"description": "Config composes the plugin's recommended preset (e.g., regexp.configs['flat/recommended'] or plugin:regexp/recommended) with the regexp plugin registered so regex rules can run.",
"max_score": 20
},
{
"name": "Nested lookaround check",
"description": "Config enables regexp/no-extra-lookaround-assertions (or equivalent nested-lookaround detector) at the specified severity and lint results surface its ruleId when nested lookarounds appear.",
"max_score": 25
},
{
"name": "Quantifier merge check",
"description": "Config enables regexp/optimal-quantifier-concatenation to flag adjacent quantifiers on the same token and exposes the rule's autofix suggestion in lint output.",
"max_score": 25
},
{
"name": "ESLint runner",
"description": "Linting uses the ESLint API (e.g., the ESLint class with lintText) with the plugin config applied instead of custom regex parsing, and returns ruleIds/locations from plugin violations.",
"max_score": 15
},
{
"name": "Severity overrides",
"description": "Provided options map directly to rule levels (off/warn/error) for both regexp/no-extra-lookaround-assertions and regexp/optimal-quantifier-concatenation when building the config and running linting.",
"max_score": 15
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-eslint-plugin-regexpevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10