You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks @davidenglishmusic -- it wasn't showing up with Style/HashSyntax because cops run alphabetically, so it would convert hashrockets before Style/QuotedSymbols ran. Opened a PR to fix correction for hash rockets.
The Style/QuotedSymbols doesn't probably handle quotation marks when in making a automated correction when the Style/HashSyntax cop is disabled.
Expected behavior
{ :"16:9" => 'widescreen' }
should be corrected to{ :'16:9' => 'widescreen' }
Actual behavior
Instead it corrects to
{ '"16:9' => 'widescreen' }
Steps to reproduce the problem
{ :"16:9" => 'widescreen' }
to a filerubocop -a
RuboCop version
The text was updated successfully, but these errors were encountered: