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

Fixes #37425 - Fix Layout/ArgumentAlignment cop #10051

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

archanaserver
Copy link
Contributor

@archanaserver archanaserver commented Feb 16, 2024

Resolved alignment inconsistencies flagged by the Layout/ArgumentAlignment cop across multiple files.

test/unit/net/dhcp_test.rb Outdated Show resolved Hide resolved
Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

theforeman-rubocop has the following style (https://github.com/theforeman/theforeman-rubocop/blob/a4e936fe00d4b839dc027b939f7d364b14faecd2/rules/style.yml#L4-L6):

Layout/ArgumentAlignment:
  EnforcedStyle: with_fixed_indentation
  IndentationWidth: 2

It would be good to copy this over to .rubocop.yml so no new violations are introduced before we upgrade. Then when we do upgrade, we can drop the config again.

Otherwise 👍 if you create a Redmine issue.

@archanaserver archanaserver changed the title Fix Layout/ArgumentAlignment cop Fixes #37425 - Fix Layout/ArgumentAlignment cop May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
2 participants