Unverified Commit 50ebac11 authored by Daniel Bevenius's avatar Daniel Bevenius Committed by Ruben Bridgewater
Browse files

tools: add eslint rule for hasCrypto checking

The motivation for this commit is to pick up early on missing checks for
crypto support (when Node is built --without-ssl).

There are currently usages of common.hasCrypto which are not just for
detecting if crypto support is available and then skip the test in
question. For these case we still want to have a lint error generated
which can then be disabled using an ESLint comment.

PR-URL: https://github.com/nodejs/node/pull/13813


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarTeddy Katz <teddy.katz@gmail.com>
parent ed1ba458
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment