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-10/

{
  "context": "Evaluates whether the solution wires eslint-plugin-regexp into a flat ESLint config to enforce Unicode-focused regex safety, specifically around Unicode-aware flags, code point escapes, and canonical property names. Scoring checks precise rule selection, configuration, and tests that demonstrate the rules report violations for non-compliant patterns while allowing the compliant ones in the spec.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Plugin setup",
      "description": "Flat config registers eslint-plugin-regexp under plugins and exports the config array used by tests, without relying on unrelated rule sets or plugins.",
      "max_score": 15
    },
    {
      "name": "Unicode flags",
      "description": "Config enables `regexp/require-unicode-regexp` (and `regexp/require-unicode-sets-regexp` when using set operations) at error level so patterns using Unicode properties or astral symbols without `u`/`v` are reported and flagged patterns pass when the flag is present.",
      "max_score": 25
    },
    {
      "name": "Codepoint escapes",
      "description": "Config turns on `regexp/prefer-unicode-codepoint-escapes` (or `regexp/unicode-escape` with options that prefer `\\u{...}`) so astral literals or surrogate pairs trigger a report and autofix to code point escapes under Unicode-aware flags.",
      "max_score": 25
    },
    {
      "name": "Property naming",
      "description": "Config enables `regexp/unicode-property` with settings that canonicalize Unicode property keys and casing, reporting inputs like `\\p{sc=grEek}` while accepting canonical forms such as `\\p{Script=Greek}`.",
      "max_score": 20
    },
    {
      "name": "Rule-targeted tests",
      "description": "Tests exercise the enabled rules by linting patterns from the spec, asserting failures for missing flags, raw astral literals, or non-canonical properties, and confirming no reports for the compliant cases.",
      "max_score": 15
    }
  ]
}

Version

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