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

{
  "context": "Evaluates whether the ESLint flat config uses eslint-plugin-import-x to enforce the specified import grouping, alias handling, alphabetical ordering, and side-effect/type placement.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Rule enabled",
      "description": "Config registers eslint-plugin-import-x in the flat config and turns on the import-x/order rule for JS/TS files.",
      "max_score": 20
    },
    {
      "name": "Group order",
      "description": "import-x/order is configured with groups ordering side-effect, builtin, external, internal, parent, sibling, index and uses newlines-between \"always\" so lint passes when groups follow that sequence.",
      "max_score": 25
    },
    {
      "name": "Alias pathGroup",
      "description": "Rule uses pathGroups to place @app/** as an internal group between external and parent/sibling imports (with pathGroupsExcludedImportTypes set to avoid treating it as external/builtin) and auto-fixes when misgrouped.",
      "max_score": 20
    },
    {
      "name": "Alphabetize",
      "description": "Alphabetize option is set on import-x/order with order \"asc\" and caseInsensitive true, sorting module specifiers within each group.",
      "max_score": 20
    },
    {
      "name": "Side-effect & types",
      "description": "warnOnUnassignedImports flags side-effect-only imports placed after other groups, and distinctGroup/type ordering places type-only imports after value imports while keeping alphabetical order.",
      "max_score": 15
    }
  ]
}

Version

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