Documentation
    Preparing search index...

    Function findDuplicates

    • Main orchestrator for dry-lint.

      Steps:

      1. Scan & read source files (skip unchanged via cache)
      2. Run all registered extractors and collect declarations
      3. Group identical / near-identical declarations
      4. Emit output (JSON, SARIF, console) and optional fix-file

      Parameters

      • filePaths: string[]

        – absolute or relative paths to the files under analysis

      • opts: CoreOptions = {}

        – behaviour flags & thresholds

      Returns Promise<DupGroup[]>

      array of duplicate groups (always returned, even when printed)