Interface PatternMatchingOptions

Pattern matching configuration for file checks

interface PatternMatchingOptions {
    target?: "filename" | "path" | "path-no-filename" | "classname";
    matching?: MatchingType;
}

Properties

Properties

target?: "filename" | "path" | "path-no-filename" | "classname"

Whether to match against filename only or full relative path

  • 'filename': Only match against the filename (e.g., 'Service.ts' from 'src/services/Service.ts')
  • 'path': Match against the full relative path (e.g., 'src/services/Service.ts')

Default

'filename'
matching?: MatchingType

Whether to require the pattern to match the entire string or allow partial matches

  • 'exact': Pattern must match the entire target string
  • 'partial': Pattern can match any part of the target string

Default

'exact'