-
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
Not to use double interpolation #91
Labels
blocked
feature request
New feature or request
library issue
issue has been created in rubocop library or just in progress and waiting for approval
postponed
Not valuable for now
Comments
Love it |
Added issue rubocop/rubocop#7480 |
@roman-dubrovsky we can start by implementing our custom cop in this repo, WDYT? |
yep, I'm going to do it |
Made PR to rubocop repo rubocop/rubocop#7714 |
roman-dubrovsky
added a commit
that referenced
this issue
Feb 13, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
blocked
feature request
New feature or request
library issue
issue has been created in rubocop library or just in progress and waiting for approval
postponed
Not valuable for now
Is your feature request related to a problem? Please describe.
Avoid using double interpolation in the one string
Your thoughts?
Additional context.
Example
"/campaigns/#{@workflow.persisted? ? "update_step/#{@workflow.campaign_id}.json" : "create_step/#{@campaign.id}.json"}"
The text was updated successfully, but these errors were encountered: