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'd expect this to not yield an offense. The method is called iso8601 and I am not able to change that, since the Time class is from the standard lib. So I have no way of fixing the issue. And I don't want to litter my code with comments to disable Rubocop every time this is done.
Actual behavior
Inspecting 85 files
...............................C.....................................................
Offenses:
lib/serializers/merged_queue_serializer.rb:25:41: C: Naming/VariableNumber: Use snake_case for symbol numbers.
if serialized_value.respond_to?(:iso8601)
^^^^^^^^
85 files inspected, 1 offense detected
I have the following code:
Expected behavior
I'd expect this to not yield an offense. The method is called
iso8601
and I am not able to change that, since theTime
class is from the standard lib. So I have no way of fixing the issue. And I don't want to litter my code with comments to disable Rubocop every time this is done.Actual behavior
RuboCop version
The text was updated successfully, but these errors were encountered: