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

{
  "context": "Evaluates how the lint helper wires eslint-plugin-import-x to enforce JSDoc-based deprecation checks on imports while leaving non-deprecated symbols untouched.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Rule enabled",
      "description": "Configures the eslint-plugin-import-x rule `import-x/no-deprecated` at a non-off level so linting actually inspects imports for @deprecated tags.",
      "max_score": 30
    },
    {
      "name": "Plugin registered",
      "description": "Registers the `eslint-plugin-import-x` plugin correctly in the ESLint config (flat plugins map or legacy plugins array) so the `import-x/no-deprecated` rule is available.",
      "max_score": 20
    },
    {
      "name": "Named imports flagged",
      "description": "`import-x/no-deprecated` produces an error for named imports whose source export is documented with @deprecated, including the identifier and reason text from the JSDoc.",
      "max_score": 15
    },
    {
      "name": "Default imports flagged",
      "description": "`import-x/no-deprecated` reports default imports of deprecated exports, tying the message to the default import location.",
      "max_score": 15
    },
    {
      "name": "Multiple hits reported",
      "description": "When multiple deprecated imports appear in one file, the linter returns separate `import-x/no-deprecated` messages for each occurrence rather than merging or dropping them.",
      "max_score": 10
    },
    {
      "name": "Non-deprecated clean",
      "description": "Lint runs stay silent (no `import-x/no-deprecated` findings) when only non-deprecated exports are imported from the same modules.",
      "max_score": 10
    }
  ]
}

Version

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