Pattern: Resolver method has too many lines
Issue: -
Checks if the length of a resolver method exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable using the Max option.
# good
class UserType < BaseType
field :name, String, null: true
field :phone, String, null: true do
argument :something, String, required: false
end
end
# good
class UserType < BaseType
field :phone, String, null: true
field :name, String, null: true
end
# bad
class UserType < BaseType
field :phone, String, null: true
field :name, String, null: true
end