tools: add eslint check for skipIfEslintMissing
Add a custom eslint rule to check for common.skipIfEslintMissing()
to
allow tests to run from source tarballs that do not include eslint.
Fix up tests that were failing the new check.
Refs: https://github.com/nodejs/node/issues/20336#issuecomment-385046748
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines