lib/poke-api/pogoprotos/pogoprotos_data_battle.rb
Block has too many lines. [66/25] Open
Open
Google::Protobuf::DescriptorPool.generated_pool.build do
add_message "POGOProtos.Data.Battle.BattlePokemonInfo" do
optional :pokemon_data, :message, 1, "POGOProtos.Data.PokemonData"
optional :current_health, :int32, 2
optional :current_energy, :int32, 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.