CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-eslint-plugin-regexp

ESLint plugin for finding RegExp mistakes and RegExp style guide violations.

82

0.96x
Overview
Eval results
Files

rubric.jsonevals/scenario-2/

{
  "context": "Evaluates whether eslint-plugin-regexp is wired through its built-in presets for both ESLint flat and legacy configurations, and whether its rules are used to detect the specified regex issues.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Flat preset",
      "description": "eslint.config.js imports eslint-plugin-regexp and applies configs[\"flat/recommended\"] (or configs[\"flat/all\"] with equivalent coverage) so the plugin's rules are active for flat runs.",
      "max_score": 35
    },
    {
      "name": "Flat duplicate detection",
      "description": "Flat linting surfaces regexp/no-dupe-disjunctions for the duplicate alternative in src/patterns.js, showing the plugin rule fires via the flat preset.",
      "max_score": 20
    },
    {
      "name": "Legacy preset",
      "description": ".eslintrc extends plugin:regexp/recommended and registers the regexp plugin name so legacy linting loads eslint-plugin-regexp rules.",
      "max_score": 30
    },
    {
      "name": "Legacy g-flag rule",
      "description": "Legacy linting reports regexp/no-missing-g-flag on replaceAll when its pattern lacks the g flag, demonstrating the preset's flag-check rule is enabled.",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-eslint-plugin-regexp

tile.json