Skip to content

Bug: no-missing-import doesn't use the require algorithm when TS has CJS moduleResolution? #349

Closed as not planned
@hakimio

Description

@hakimio

Environment

Node version: v20.13.1
npm version: v10.8.1
ESLint version: v9.11.1
eslint-plugin-n version: v17.10.3
Operating System: Windows 10

What rule do you want to report?

no-missing-import

What did you expect to happen?

The plugin should find imports from TS barrel files.

Participation

  • I am willing to submit a pull request for this issue.

Additional comments

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions