Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rubocops/livecheck: Rework LivecheckUrlProvided #16932

Merged
merged 1 commit into from Mar 22, 2024

Commits on Mar 21, 2024

  1. rubocops/livecheck: Rework LivecheckUrlProvided

    The existing `LivecheckUrlProvided` RuboCop requires a `url` for all
    `livecheck` blocks except those using `skip`, `formula`, or `cask`,
    as those only appear in a `livecheck` block with no other DSL methods.
    
    We now have a `throttle` method that can be used alongside other DSL
    methods (e.g., `url`, `regex`, `strategy`) or by itself. `brew style`
    currently fails when `throttle` is used by itself, so this reworks
    the conditions to allow this usage.
    samford committed Mar 21, 2024
    Copy the full SHA
    b3ab410 View commit details
    Browse the repository at this point in the history