Ctrl + K
DocumentationLog inGet started

tessl/npm-eslint-plugin-regexp

tessl install tessl/npm-eslint-plugin-regexp@2.10.0

ESLint 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%

rubric.jsonevals/scenario-7/

{
  "context": "Evaluates whether eslint-plugin-regexp is configured to enforce structured capture naming, backreference usage, and result-group consumption as described in the spec when linting the fixture file. Confirms the flat config wires the plugin and rules so the provided examples fail or pass exactly as intended.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Named captures",
      "description": "Enables `regexp/prefer-named-capture-group` at warn/error severity and linting the unnamed capture examples in `fixtures/structured.js` produces a violation for missing capture names.",
      "max_score": 30
    },
    {
      "name": "Named backrefs",
      "description": "Activates `regexp/prefer-named-backreference` so numeric backreferences in the fixture are reported and guidance favors named references.",
      "max_score": 20
    },
    {
      "name": "Result groups access",
      "description": "Configures `regexp/prefer-result-array-groups` so `match[1]` access in the fixture fails while the provided `.groups.<name>` access is accepted without lint errors.",
      "max_score": 20
    },
    {
      "name": "Unused captures",
      "description": "Turns on `regexp/no-unused-capturing-group` and demonstrates it by flagging the unused capturing group example while allowing the non-capturing variant to pass.",
      "max_score": 15
    },
    {
      "name": "Plugin wiring",
      "description": "Registers the `regexp` plugin in the flat config, applies the above rules to JS/TS globs that include `fixtures/structured.js`, and sets them directly from eslint-plugin-regexp without relying on unrelated plugins.",
      "max_score": 15
    }
  ]
}

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
npmpkg:npm/eslint-plugin-regexp@2.10.x
tile.json