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
…Style/SymbolArray` cops
Fixesrubocop#10007 and rubocop#10008.
This PR tweaks offense message for `Style/WordArray` and `Style/SymbolArray` cops.
It is a clear message suggested by rubocop#10008.
…ymbolArray` cops
Fixes#10007 and #10008.
This PR tweaks offense message for `Style/WordArray` and `Style/SymbolArray` cops.
It is a clear message suggested by #10008.
Is your feature request related to a problem? Please describe.
Related to #9981 , I think we can do slightly better by letting the user know that the array contains spaces. At the moment, it's a bit vague.
As an example, the word array in question was actually:
and I just got
Like we're already using
[]
so I was wondering if it was because it was multiline. Until I saw #9962 in the release notes.Describe the solution you'd like
I think maybe a clearer, more specific message should be more helpful?
Use '[]' for words with spaces.
or something to that effect?The text was updated successfully, but these errors were encountered: