bbatsov/rubocop

View on GitHub

Showing 672 of 672 total issues

Avoid too many return statements within this method.
Open

      return true if should_merge?(base_mode, key)
Severity: Major
Found in lib/rubocop/config_loader_resolver.rb - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

            return if dispatch_node.parent && parentheses?(dispatch_node.parent)
    Severity: Major
    Found in lib/rubocop/cop/mixin/hash_shorthand_syntax.rb - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                return unless (kwsplat = node.each_ancestor(:kwsplat).first)
      Severity: Major
      Found in lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

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

          Avoid too many return statements within this method.
          Open

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

            Avoid too many return statements within this method.
            Open

                      return if !node.braces? || allowed_double_splat_receiver?(kwsplat)
            Severity: Major
            Found in lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                        return false if /^-?0.0/.match?(mantissa)
              Severity: Major
              Found in lib/rubocop/cop/style/exponential_notation.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 if target_ruby_version <= 2.2 && replacement == 'grep_v'
                  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 false unless sym_node.source == lvar_node.source
                    Severity: Major
                    Found in lib/rubocop/cop/style/super_arguments.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 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 false if additional_kwargs_or_forwarded_kwargs?
                            Severity: Major
                            Found in lib/rubocop/cop/style/arguments_forwarding.rb - About 30 mins to fix

                              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 legitimate_call_with_parentheses?(node)

                                  Avoid too many return statements within this method.
                                  Open

                                              return if method_call_before_constant_resolution?(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 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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language