tools: add check for using process.binding crypto
Currently, when configuring --without-ssl any tests that use
process.binding('crypto') will not report a lint warning. This is
because the eslint check only generates a warning when using require.
This commit adds a check for using binding in addition to require.
PR-URL: https://github.com/nodejs/node/pull/17867
Reviewed-By:
James M Snell <jasnell@gmail.com>
Reviewed-By:
Ruben Bridgewater <ruben@bridgewater.de>
parent
c64ca56d
Please register or sign in to comment