Skip to content

Bug: no-missing-require incorrectly flagging module as missing #242

Closed
@nzakas

Description

@nzakas

Environment

Node version: v20.11.0
npm version: v10.4.0
ESLint version: v9.0.0
eslint-plugin-n version: v17.2.0
Operating System: win32 10.0.19045

What rule do you want to report?

no-missing-require

Link to Minimal Reproducible Example

eslint/eslint#18313

What did you expect to happen?

That the rule would correctly find the module @humanwhocodes/retry.

Worked in v16.6.2, stopped working in v17.0.0.

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