tools: fix C++ import checker argument expansion
src: fix linter failures
Fix linter failures when running the linter on all source files.
tools: fix C++ import checker argument expansion
Makefile assumes that it can pass a list of files to the import checker, whereas the import checker expects a single argument that is interpreted as a blob.
Fix that mismatch by accepting multiple arguments in the import checker.
Refs: https://github.com/nodejs/node/pull/34565
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines