MCPcopy Index your code
hub / github.com/TypeStrong/ts-node / ignored

Function ignored

src/index.ts:1473–1480  ·  view source on GitHub ↗
(fileName: string)

Source from the content-addressed store, hash-verified

1471 const enabled = (enabled?: boolean) =>
1472 enabled === undefined ? active : (active = !!enabled);
1473 const ignored = (fileName: string) => {
1474 if (!active) return true;
1475 const ext = extname(fileName);
1476 if (extensions.compiled.includes(ext)) {
1477 return !isScoped(fileName) || shouldIgnore(fileName);
1478 }
1479 return true;
1480 };
1481
1482 function addDiagnosticFilter(filter: DiagnosticFilter) {
1483 diagnosticFilters.push({

Callers 1

testAllowedExtensionsFunction · 0.85

Calls

no outgoing calls

Tested by 1

testAllowedExtensionsFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…