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

PreferCurlyFors: don't rewrite semicolon only #4013

Merged
merged 2 commits into from
May 19, 2024

Commits on May 19, 2024

  1. Configuration menu
    Copy the full SHA
    408c8ed View commit details
    Browse the repository at this point in the history
  2. PreferCurlyFors: don't rewrite semicolon only

    If we are not rewriting parentheses, we shouldn't remove semicolons as
    they are required. Exclude the `if` guards, however, as they can come
    without a newline or semicolon.
    kitbellew committed May 19, 2024
    Configuration menu
    Copy the full SHA
    03ac88a View commit details
    Browse the repository at this point in the history