We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello! Let me start by saying THANK YOU for rubocop. So damn cool!
I'm using:
AlignHash: Enabled: true EnforcedColonStyle: table
With this code:
def self.scenarios_order [ { before: %w( l k ) }, { ending: %w( m l ) }, { starting: %w( m n ) }, { after: %w( n o ) } ] end
I'm seeing this:
C: Align the elements of a hash literal if they span more than one line. { before: %w( l k ) }, ^^^^^^^^^^^^^^^^^^^
I don't see any hash literals that span more than one line, nor do I see any misalignment. :-)
The text was updated successfully, but these errors were encountered:
Yep, that's definitely a bug.
Sorry, something went wrong.
90b9fae
Merge pull request #787 from jonas054/fix_align_hash_false_pos
880d2e3
[Fix #782] Fix false positive in AlignHash for single line hashes
jonas054
No branches or pull requests
Hello! Let me start by saying THANK YOU for rubocop. So damn cool!
I'm using:
With this code:
I'm seeing this:
I don't see any hash literals that span more than one line, nor do I see any misalignment. :-)
The text was updated successfully, but these errors were encountered: