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

{
  "context": "Evaluates whether the ESLint flat config leverages eslint-plugin-import-x to perform project-wide unused export detection as required by the spec. Scoring checks that the correct rule is enabled with strict settings, scoped to the intended source files, and that designated files are properly ignored.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Plugin loaded",
      "description": "Config registers eslint-plugin-import-x in the flat config plugins map and applies it to relevant JS/TS entries.",
      "max_score": 10
    },
    {
      "name": "Rule enabled",
      "description": "import-x/no-unused-modules is present in the rules with error-level severity (not off or warn).",
      "max_score": 15
    },
    {
      "name": "Missing exports",
      "description": "Rule options explicitly set missingExports: true so modules with no exports are reported.",
      "max_score": 20
    },
    {
      "name": "Unused exports",
      "description": "Rule options explicitly set unusedExports: true so exports not imported elsewhere are reported.",
      "max_score": 20
    },
    {
      "name": "Source scope",
      "description": "Rule src option targets project sources (e.g., src/**/*.{js,ts,tsx}) and avoids linting unrelated paths such as tooling or config files.",
      "max_score": 15
    },
    {
      "name": "Ignored paths",
      "description": "ignoreExports (or equivalent ignore option) covers mock files under src/__mocks__/ and any *.stories.tsx files so they are exempt from unused-export reporting.",
      "max_score": 20
    }
  ]
}

Version

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