CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/npm-eslint-plugin-import-x

tessl install tessl/npm-eslint-plugin-import-x@3.1.0

ESLint plugin providing comprehensive linting rules for ES2015+ import/export syntax with static analysis and module system enforcement.

Agent Success

Agent success rate when using this tile

80%

Improvement

Agent success rate improvement when using this tile compared to baseline

0.96x

Baseline

Agent success rate without this tile

83%

rubric.jsonevals/scenario-9/

{
  "context": "Evaluates whether the solution leans on eslint-plugin-import-x's resolution internals, specifically its cache-aware path checking utilities and ESM-friendly CommonJS bridge. Checks focus on correct use of the plugin's helpers rather than general filesystem or import logic.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Case helper",
      "description": "Uses the package's case-aware resolver helper `fileExistsWithCaseSync` to validate paths instead of reimplementing path checks.",
      "max_score": 30
    },
    {
      "name": "Cache reuse",
      "description": "Reuses the plugin-provided cache (`fileExistsCache` or the `ModuleCache` it wraps) so repeated path checks avoid redundant filesystem reads.",
      "max_score": 20
    },
    {
      "name": "Cache lifetime",
      "description": "Propagates `cacheSettings.lifetime` (including numeric values and the `'∞'/'Infinity'` options) into the helper calls so cache expiration honors plugin semantics.",
      "max_score": 15
    },
    {
      "name": "ESM require bridge",
      "description": "Loads CommonJS metadata via the exported `cjsRequire` helper (from `eslint-plugin-import-x` or `eslint-plugin-import-x/require`) rather than using `fs` reads or dynamic `import`.",
      "max_score": 25
    },
    {
      "name": "Error propagation",
      "description": "Allows errors thrown by `cjsRequire` or `fileExistsWithCaseSync` to surface (or be explicitly rethrown) without wrapping them in custom error types, matching the spec's expectation.",
      "max_score": 10
    }
  ]
}

Version

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