app/services/search_params_parser.rb
Method has too many lines. [6/5] (https://github.com/bbatsov/ruby-style-guide#short-methods) Open
Open
def initialize(params)
@params = params.permit(
:q,
:what_id,
:who_id,
- Read upRead up
- Exclude checks
This cop checks if the length of a method exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.