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.
I have enabled the
import/enforce-node-protocol-usagerule as mentioned in this comment. After running ESLint, I am encountering the following error ofimport/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.