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

Some swift-format lint fixes #1721

Merged
merged 2 commits into from
Sep 24, 2024
Merged

Some swift-format lint fixes #1721

merged 2 commits into from
Sep 24, 2024

Commits on Sep 23, 2024

  1. Replace forEach with loops.

    Resolves the swift-format lint warning _ReplaceForEachWithForLoop_. There isn't
    a rewrite rule for this so things have to be manually fixed.
    thomasvl committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    10ed2c6 View commit details
    Browse the repository at this point in the history
  2. Remove unneeded returns.

    Resolves the swift-format lint warnings for OmitExplicitReturns.
    
    These cases likely are things that swift-format fails to rewrite for some reason
    because it can handle other cases just fine.
    thomasvl committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    e1c4ca3 View commit details
    Browse the repository at this point in the history