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

Layout/AlignHash allow two options #6649

Merged
merged 4 commits into from
May 13, 2019
Merged

Commits on May 13, 2019

  1. layout/align_hash: Add option table_or_key

    You can specify table_or_key if you want to allow both table and key
    When multiple hash formats is accept the hash need to be either one or the other.
    stoivo committed May 13, 2019
    Configuration menu
    Copy the full SHA
    aeb7c90 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    69052b7 View commit details
    Browse the repository at this point in the history
  3. Layout/AlignHash: Add support list of styles

    You can specify table or key or separator or a combination of any of these. If
    you allow both table and key any hash might be either.
    stoivo committed May 13, 2019
    Configuration menu
    Copy the full SHA
    bca03f9 View commit details
    Browse the repository at this point in the history
  4. Revert "Autocorrect violations of Layout/AlignHash Cop"

    This reverts commit da8c541.
    stoivo committed May 13, 2019
    Configuration menu
    Copy the full SHA
    cfaeeb7 View commit details
    Browse the repository at this point in the history