Showing 652 of 652 total issues
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 if super_call_without_arguments?(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 method_chain.method?(:empty?)
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 match_predicate_without_receiver?(regexp_method_send_node)
Avoid too many return
statements within this method. Open
Open
return true if delimiter?(node, escaped[0])
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 'an expression'
Avoid too many return
statements within this method. Open
Open
return if ALLOWED_NODE_TYPES.include?(begin_node.parent&.type)
Avoid too many return
statements within this method. Open
Open
return if node.semantic_operator? && begin_node.parent
Avoid too many return
statements within this method. Open
Open
return if allow_comments? && contains_comments?(node)
Avoid too many return
statements within this method. Open
Open
return if node.multiline? && allow_in_multiline_conditions?
Avoid too many return
statements within this method. Open
Open
return if allow_if_method_has_argument?(node.send_node)
Avoid too many return
statements within this method. Open
Open
return unless begin_node.parent.nil?
Avoid too many return
statements within this method. Open
Open
return 'an interpolated expression' if interpolation?(begin_node)
Avoid too many return
statements within this method. Open
Open
return if begin_node.parent&.if_type? && begin_node.parent&.ternary?
Avoid too many return
statements within this method. Open
Open
return if exist_argument_between_heredoc_end_and_closing_parentheses?(node)
Avoid too many return
statements within this method. Open
Open
return if allowed_method_name?(dispatch_node.method_name)
Avoid too many return
statements within this method. Open
Open
return if node.block_type? && destructuring_block_argument?(arguments_node)