Skip to content

Conversation

@wfleming
Copy link
Contributor

This rule seems like a strange exception to our normal "always double
quotes" practice. It also leads to (to me) visually confusing code when
methods dealing with strings appear in #{} blocks. I suggest we make
this also require double quotes so everything is consistent.

cc @codeclimate/review

This rule seems like a strange exception to our normal "always double quotes" practice. It also leads to (to me) visually confusing code when methods dealing with strings appear in #{} blocks. I suggest me make this also require double quotes so everything is consistent.
@pbrisbin
Copy link
Contributor

Agreed. I'd consider it an oversight this rule wasn't already present (seems a weird distinction for rubocop to make).

wfleming added a commit that referenced this pull request Mar 15, 2016
Enforce double quotes for strings all the time.
@wfleming wfleming merged commit 3d5b49c into master Mar 15, 2016
@wfleming wfleming deleted the will/rubocop-quotes-in-quotes branch March 15, 2016 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants