-
Notifications
You must be signed in to change notification settings - Fork 2
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
[#91] Add nested interpolation cop #158
Conversation
end | ||
|
||
it 'accepts interpolation into business block' do | ||
expect_no_offenses('"#{assignment.join("\n#{indentation(node)}")}"') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How do you think should we ban that construction? Or we can accept it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@roman-dubrovsky , I think it is redundant and should be banned.
45c7cb7
to
9a8e4e2
Compare
@lazycoder9 heh, tests are red 😄 |
Yeah, noted it after approve :( |
4187bcd
to
2c5e94e
Compare
Resolves issue #91 . Also, I'm going to send this cop to the rubocop repo.
Before you submit a pull request, please make sure you have to follow:
and word
Fix
if this PR closes related issue