Skip to content

Modernize Public API Ergonomics #669

@tylerbutler

Description

@tylerbutler

The API is currently in a transitional state with mixed legacy and modern patterns.

Action Items:

  • Deprecate makePolicy function formally (add @deprecated tag).
  • Address ambiguous overloading in the policy() function (config vs options).
  • Expose a public, programmatic checkRepository() API for use without the CLI.
  • Clarify or improve excludeFiles behavior (currently regex strings, confusingly look like globs).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions