rubocop-hq/rubocop

View on GitHub

Showing 652 of 652 total issues

Avoid too many return statements within this method.
Open

            return if legitimate_call_with_parentheses?(node)

    Avoid too many return statements within this method.
    Open

                return if super_call_without_arguments?(node)

      Avoid too many return statements within this method.
      Open

                  return if allowed_camel_case_method_call?(node)

        Avoid too many return statements within this method.
        Open

                  return if method_chain.method?(:empty?)
        Severity: Major
        Found in lib/rubocop/cop/style/safe_navigation.rb - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                    return if include_statement_only?(body)
          Severity: Major
          Found in lib/rubocop/cop/style/documentation.rb - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                      return if match_predicate_without_receiver?(regexp_method_send_node)
            Severity: Major
            Found in lib/rubocop/cop/style/select_by_regexp.rb - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                        return true if delimiter?(node, escaped[0])
              Severity: Major
              Found in lib/rubocop/cop/style/redundant_string_escape.rb - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                            return if allowed_string_interpolation_method_call?(node)

                  Avoid too many return statements within this method.
                  Open

                              return 'an expression'
                  Severity: Major
                  Found in lib/rubocop/cop/style/redundant_parentheses.rb - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                return if ALLOWED_NODE_TYPES.include?(begin_node.parent&.type)
                    Severity: Major
                    Found in lib/rubocop/cop/style/redundant_parentheses.rb - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                  return if node.semantic_operator? && begin_node.parent
                      Severity: Major
                      Found in lib/rubocop/cop/style/redundant_parentheses.rb - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                    return if allow_comments? && contains_comments?(node)
                        Severity: Major
                        Found in lib/rubocop/cop/style/symbol_proc.rb - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                      return if node.multiline? && allow_in_multiline_conditions?
                          Severity: Major
                          Found in lib/rubocop/cop/style/redundant_parentheses.rb - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                        return if allow_if_method_has_argument?(node.send_node)
                            Severity: Major
                            Found in lib/rubocop/cop/style/symbol_proc.rb - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                          return unless begin_node.parent.nil?
                              Severity: Major
                              Found in lib/rubocop/cop/style/redundant_parentheses.rb - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                          return 'an interpolated expression' if interpolation?(begin_node)
                                Severity: Major
                                Found in lib/rubocop/cop/style/redundant_parentheses.rb - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                              return if begin_node.parent&.if_type? && begin_node.parent&.ternary?
                                  Severity: Major
                                  Found in lib/rubocop/cop/style/redundant_parentheses.rb - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                              return if exist_argument_between_heredoc_end_and_closing_parentheses?(node)
                                    Severity: Major
                                    Found in lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                  return if allowed_method_name?(dispatch_node.method_name)
                                      Severity: Major
                                      Found in lib/rubocop/cop/style/symbol_proc.rb - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                    return if node.block_type? && destructuring_block_argument?(arguments_node)
                                        Severity: Major
                                        Found in lib/rubocop/cop/style/symbol_proc.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language