lib/poke-api/pogoprotos/pogoprotos_inventory_item.rb
Block has too many lines. [56/25] Open
Open
Google::Protobuf::DescriptorPool.generated_pool.build do
add_message "POGOProtos.Inventory.Item.ItemAward" do
optional :item_id, :enum, 1, "POGOProtos.Inventory.Item.ItemId"
optional :item_count, :int32, 2
end
- Read upRead up
- Exclude checks
This cop checks if the length of a block exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable. The cop can be configured to ignore blocks passed to certain methods.
Block has too many lines. [30/25] Open
Open
add_enum "POGOProtos.Inventory.Item.ItemId" do
value :ITEM_UNKNOWN, 0
value :ITEM_POKE_BALL, 1
value :ITEM_GREAT_BALL, 2
value :ITEM_ULTRA_BALL, 3
- Read upRead up
- Exclude checks
This cop checks if the length of a block exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable. The cop can be configured to ignore blocks passed to certain methods.