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
I've changed the labeling from enhacement to bug. When the string items are commented, it's not possible to change the array to %w notation and still comment on the items. RuboCop should leave it.
BTW, @lamont-granquist, have you noticed that StringLiterals is configurable and can enforce single quotes or double quotes (or be turned off). 😄
does not translate to %w[] notation
commenting like that is a perfectly reasonable thing to want to do. WordArray should only apply to single-line arrays.
(and i'm not a big fan of the stringliterals rule as well...)
The text was updated successfully, but these errors were encountered: