MCPcopy Create free account
hub / github.com/effect-app/libs / defaultFiles

Function defaultFiles

packages/eslint-codegen-model/src/cli.ts:519–531  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

517const staticModelBlockRe = /\/\/ codegen:start[ \t]*\{[^}]*\bpreset:\s*model\b[^}]*\b(?:static|facade):\s*true\b/
518
519function defaultFiles(): Array<string> {
520 return globSync("**/*.{ts,tsx,mts,cts}", {
521 cwd: process.cwd(),
522 nodir: true,
523 ignore: [
524 "**/node_modules/**",
525 "**/dist/**",
526 "**/build/**",
527 "**/.git/**"
528 ]
529 })
530 .map((filePath) => path.resolve(process.cwd(), filePath))
531}
532
533function findNearestTsconfig(fromDir: string): string | undefined {
534 let dir = fromDir

Callers 1

runFunction · 0.85

Calls 1

mapMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…