Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix the code to comply with the Style::EmptyLiteral rule in RuboCop. #2753

Conversation

sho-work
Copy link

@sho-work sho-work commented Sep 2, 2024

Summary

I encountered an issue where Hash.new [] triggered a violation of the RuboCop rule Style/EmptyLiteral.
To address this, I revised the code.

@mshibuya
Copy link
Member

mshibuya commented Sep 7, 2024

Thank you for the PR, but it's already fixed in Rubocop.
rubocop/rubocop#13178

@mshibuya mshibuya closed this Sep 7, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants