CI Perf Lint

prefer-eslint-plugin-import-x

What it flags

Flags repositories whose visible ESLint setup appears to use eslint-plugin-import without visible eslint-plugin-import-x usage.

The finding is repository-wide: the evidence comes from repository ESLint config and package metadata, not from a workflow-local command.

Why it matters

eslint-plugin-import-x is intended as a faster modern replacement path for eslint-plugin-import.

When a repository still depends on eslint-plugin-import, import-related linting can carry more runtime and dependency overhead than necessary, especially in CI where the same lint path runs repeatedly.

Current heuristic

The rule looks for repository-root evidence in files such as:

It fires when:

Shared presets that may hide the actual plugin choice are intentionally not enough on their own.

When to ignore it

Ignore this finding when:

Suggested verification

Sources