The node/no-missing-import and node/no-missing-require rules don’t support the node: URL scheme, so there’s a false positive in cases like the following:
import fs from 'node:fs';
// or
const fs = require('node:fs');
Currently, the rules conflict with unicorn/prefer-node-protocol.
The
node/no-missing-importandnode/no-missing-requirerules don’t support thenode:URL scheme, so there’s a false positive in cases like the following:Currently, the rules conflict with
unicorn/prefer-node-protocol.