Showing 647 of 687 total issues
Avoid too many return
statements within this method. Open
Open
return true if should_merge?(base_mode, key)
Avoid too many return
statements within this method. Open
Open
return if last_expression?(dispatch_node) && !method_dispatch_as_argument?(dispatch_node)
Avoid too many return
statements within this method. Open
Open
return false if /^-?0.0/.match?(mantissa)
Avoid too many return
statements within this method. Open
Open
return 1 if operation == :/
Avoid too many return
statements within this method. Open
Open
return unless (kwsplat = node.each_ancestor(:kwsplat).first)
Avoid too many return
statements within this method. Open
Open
return if !node.braces? || allowed_double_splat_receiver?(kwsplat)
Avoid too many return
statements within this method. Open
Open
return if same_name_assignment?(node)
Avoid too many return
statements within this method. Open
Open
return false if rhs.send_type? && rhs.method?(:empty?)
Avoid too many return
statements within this method. Open
Open
return if match_predicate_without_receiver?(regexp_method_send_node)
Avoid too many return
statements within this method. Open
Open
return if legitimate_call_with_parentheses?(node)
Avoid too many return
statements within this method. Open
Open
return false unless sym_node.source == lvar_node.source
Avoid too many return
statements within this method. Open
Open
return false if additional_kwargs_or_forwarded_kwargs?
Avoid too many return
statements within this method. Open
Open
return if target_ruby_version <= 2.2 && replacement == 'grep_v'
Avoid too many return
statements within this method. Open
Open
return if include_statement_only?(body)
Avoid too many return
statements within this method. Open
Open
return if super_call_without_arguments?(node)
Avoid too many return
statements within this method. Open
Open
return if parenthesized_it_method_in_block?(node)
Avoid too many return
statements within this method. Open
Open
return if allowed_camel_case_method_call?(node)
Avoid too many return
statements within this method. Open
Open
return if allowed_string_interpolation_method_call?(node)
Avoid too many return
statements within this method. Open
Open
return if method_call_before_constant_resolution?(node)
Avoid too many return
statements within this method. Open
Open
return unless (regexp_method_send_node = extract_send_node(block_node))