tools: lint for use of internalBinding()
Use of process.binding()
has largely been replaced by internalBinding()
. This commit updates the custom crypto check ESLint rule to check for both process.binding()
and internalBinding()
.
Refs: https://github.com/nodejs/node/pull/24952#issuecomment-452327452
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines