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
#1263 fixed Style/UnneededCapitalW to allow word arrays that include special characters and escape strings, however literal space (\s) still causes a false positive.
%W(\s)
It's a slightly strange use of a word array I guess but in my case the easiest given a long array where one or two elements need to be a blank string.
I had a go at fixing myself, it's something to do with the double_quotes_acceptable? method, but couldn't see how obviously to change it.
#1263 fixed Style/UnneededCapitalW to allow word arrays that include special characters and escape strings, however literal space (\s) still causes a false positive.
It's a slightly strange use of a word array I guess but in my case the easiest given a long array where one or two elements need to be a blank string.
I had a go at fixing myself, it's something to do with the double_quotes_acceptable? method, but couldn't see how obviously to change it.
The text was updated successfully, but these errors were encountered: