Skip to content

tools: auto fix custom eslint rule for crypto-check.js

This implements an eslint fixer function to auto insert common.hasCryto check if missed out.

Refs: https://github.com/nodejs/node/issues/16636

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
  • test cases added for changes
  • python ./tools/test.py parallel/test-eslint-crypto-check
Affected core subsystem(s)

Tools

Merge request reports

Loading