Skip to content

enforce-node-protocol-usage conflicts with no-unresolvedΒ #3199

@electriquo

Description

@electriquo

I have enabled the import/enforce-node-protocol-usage rule as mentioned in this comment. After running ESLint, I am encountering the following error of import/no-unresolved:

error  Unable to resolve path to module 'node:fs'    import/no-unresolved

Is this a bug, or is there a configuration step I need to follow to resolve node protocol module imports when using this rule?

Any guidance on how to fix this would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions