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
In our rails tests, we often have
get :index, { param: 'something' }, { session_value: 'abcd' }
Rubocop wants us to remove the final arguments curly braces, resulting in
get :index, { param: 'something' }, session_value: 'abcd'
To me, using curly braces in this case more clearly states the intention of which key/value pairs are in each hash.
Is this something that people would like to see, or is it too specific a case?
The text was updated successfully, but these errors were encountered:
I agree with your preference to include the braces around both hashes.
On the other hand, I almost always avoid this situation by assigning the two hashes to local variables.
Sorry, something went wrong.
Kind of agree with this one. I just went through and removed them for now, but it's nice to show hashes as being distinct arguments.
I'm OK with having this as an option, so I guess one of you can implement it.
f356ea5
Merge pull request #1439 from jonas054/801_braces_for_last_params
03ef152
[Fix #801] Add a `depending` style to BracesAroundHashParameters
No branches or pull requests
In our rails tests, we often have
Rubocop wants us to remove the final arguments curly braces, resulting in
To me, using curly braces in this case more clearly states the intention of which key/value pairs are in each hash.
Is this something that people would like to see, or is it too specific a case?
The text was updated successfully, but these errors were encountered: