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.
Expected behaviour
Related to #9981
Given a .rubocop.yml of:
When rubocop runs on the file
Then rubocop should ignore it because it is too short
Actual behaviour
Rubocop recommends changing to
['first element', 'second']
Steps to reproduce the problem
As above example.
RuboCop version
The text was updated successfully, but these errors were encountered: