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

{
  "context": "Evaluates how well the solution configures eslint-plugin-import-x rules to enforce ES module import/export correctness across the sample src files, catching invalid named/default imports, unresolved paths, and self-imports. Scores focus entirely on selecting and wiring the plugin's rule set to make the provided fixtures pass or fail appropriately.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Plugin wiring",
      "description": "Registers eslint-plugin-import-x in the ESLint config (flat array export) and scopes it to src/**/*.js so lint runs against both valid and invalid fixtures.",
      "max_score": 20
    },
    {
      "name": "Named checks",
      "description": "Enables the import-x/named rule (or equivalent) so linting src/invalid/bad-named.js errors on requesting a symbol not exported by src/valid/math.js while allowing the valid named imports in src/valid/index.js.",
      "max_score": 25
    },
    {
      "name": "Default checks",
      "description": "Applies the import-x/default rule so a default import of src/valid/math.js in src/invalid/bad-default.js is reported when that module only exposes named exports.",
      "max_score": 20
    },
    {
      "name": "Unresolved paths",
      "description": "Configures import-x/no-unresolved with appropriate extensions/resolver settings so src/invalid/missing-path.js fails lint because its target file cannot be resolved.",
      "max_score": 20
    },
    {
      "name": "Self imports",
      "description": "Turns on import-x/no-self-import (or the rule's alias) so src/invalid/self-cycle.js is flagged for importing itself, preventing self-referential modules.",
      "max_score": 15
    }
  ]
}

Version

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