MCPcopy Index your code
hub / github.com/nodejs/node / skipIfEslintMissing

Function skipIfEslintMissing

test/common/index.js:531–537  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

529}
530
531function skipIfEslintMissing() {
532 if (!fs.existsSync(
533 path.join(__dirname, '..', '..', 'tools', 'eslint', 'node_modules', 'eslint'),
534 )) {
535 skip('missing ESLint');
536 }
537}
538
539function canCreateSymLink() {
540 // On Windows, creating symlinks requires admin privileges.

Callers

nothing calls this directly

Calls 3

skipFunction · 0.70
existsSyncMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…