@oss-autopilot/core - v1.6.3
    Preparing search index...

    Function detectFormatters

    • Detect formatters and linters configured in a repository.

      Checks config files in priority order using fs.existsSync() / fs.readFileSync(). Returns all detected formatters, plus any formatting-related package.json scripts.

      Parameters

      • repoPath: string

        Absolute path to the repository root directory

      Returns FormatterDetectionResult

      Detection result with formatters ordered by priority and extracted package.json scripts

      If repoPath does not exist or is not a directory