mirror of
https://github.com/nodejs/node.git
synced 2025-05-09 13:05:07 +00:00
![]() This adds a rule that forbids the use of native Error constructors in the `lib` directory. This is to encourage use of the `internal/errors` mechanism. The rule is disabled for errors that are not created with the `internal/errors` module but are still assigned an error code. PR-URL: https://github.com/nodejs/node/pull/19373 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> |
||
---|---|---|
.. | ||
esm_loader.js | ||
next_tick.js | ||
promises.js | ||
stdio.js | ||
warning.js | ||
write-coverage.js |