Skip to content

tools: auto fix custom eslint rule for buffer-constructor.js

This implements an es-lint fixer method to fix the usage of Deprecated Buffer() constructor.

Also adds some more test cases to the eslint rule.

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

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

Tools

Merge request reports

Loading