lib/poke-api/geometry/s2_base.rb
Method lookup_cells
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def self.lookup_cells(level, i, j, orig_orientation, pos, orientation)
Method lookup_bits
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def self.lookup_bits(i, j, orig_orientation, pos, orientation)
Avoid parameter lists longer than 5 parameters. [6/5] Open
Open
def self.lookup_cells(level, i, j, orig_orientation, pos, orientation)
- Read upRead up
- Exclude checks
This cop checks for methods with too many parameters. The maximum number of parameters is configurable. Keyword arguments can optionally be excluded from the total count.