rubocop-hq/rubocop

View on GitHub

Showing 624 of 666 total issues

Method space_offense has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

      def space_offense(node, token, side, message, command)
Severity: Minor
Found in lib/rubocop/cop/mixin/surrounding_space.rb - About 35 mins to fix

    Method check has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

          def check(node, items, kind, begin_pos, end_pos)
    Severity: Minor
    Found in lib/rubocop/cop/mixin/trailing_comma.rb - About 35 mins to fix

      Method initialize has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

                file_count, offense_count, correction_count, correctable_count, rainbow,
                safe_autocorrect: false
      Severity: Minor
      Found in lib/rubocop/formatter/simple_text_formatter.rb - About 35 mins to fix

        Method move_pos_str has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

              def move_pos_str(src, pos, step, condition, needle)
        Severity: Minor
        Found in lib/rubocop/cop/mixin/range_help.rb - About 35 mins to fix

          Method fix_include_paths has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              def fix_include_paths(base_config_path, hash, path, key, value)
          Severity: Minor
          Found in lib/rubocop/config_loader_resolver.rb - About 35 mins to fix

            Method autocorrect has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                    def autocorrect(corrector, node, condition, replacement, guard)
            Severity: Minor
            Found in lib/rubocop/cop/style/guard_clause.rb - About 35 mins to fix

              Method autocorrect_heredoc_argument has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                      def autocorrect_heredoc_argument(corrector, node, heredoc_branch, leave_branch, guard)
              Severity: Minor
              Found in lib/rubocop/cop/style/guard_clause.rb - About 35 mins to fix

                Method apply_autocorrect has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                        def apply_autocorrect(corrector, node, rhs, operator, new_rhs)
                Severity: Minor
                Found in lib/rubocop/cop/style/self_assignment.rb - About 35 mins to fix

                  Method autocorrect has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                          def autocorrect(corrector, node, sort_node, sorter, accessor)
                  Severity: Minor
                  Found in lib/rubocop/cop/style/redundant_sort.rb - About 35 mins to fix

                    Method preferred_method has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                            def preferred_method(operator, lhs, rhs, if_branch, else_branch)
                    Severity: Minor
                    Found in lib/rubocop/cop/style/min_max_comparison.rb - About 35 mins to fix

                      Method move_branch_inside_condition has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                                def move_branch_inside_condition(corrector, branch, condition, assignment, column)
                      Severity: Minor
                      Found in lib/rubocop/cop/style/conditional_assignment.rb - About 35 mins to fix

                        Method move_branch_inside_condition has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                                  def move_branch_inside_condition(corrector, branch, condition,
                                                                   assignment, column)
                        Severity: Minor
                        Found in lib/rubocop/cop/style/conditional_assignment.rb - About 35 mins to fix

                          Method initialize has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                                    def initialize(def_node, send_node, referenced_lvars, forwardable_args, **config)
                          Severity: Minor
                          Found in lib/rubocop/cop/style/arguments_forwarding.rb - About 35 mins to fix

                            Method compact_offenses has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                    def compact_offenses(node, left, right, start_ok, end_ok)
                            Severity: Minor
                            Found in lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb - About 35 mins to fix

                              Method check_space has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                      def check_space(space_begin_pos, space_end_pos, range, msg, node = nil)
                              Severity: Minor
                              Found in lib/rubocop/cop/layout/space_around_block_parameters.rb - About 35 mins to fix

                                Method correct_key_value has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                        def correct_key_value(corrector, delta, key, value, separator)
                                Severity: Minor
                                Found in lib/rubocop/cop/layout/hash_alignment.rb - About 35 mins to fix

                                  Method issue_offenses has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                          def issue_offenses(node, left, right, start_ok, end_ok)
                                  Severity: Minor
                                  Found in lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb - About 35 mins to fix

                                    Method check_right_brace has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                            def check_right_brace(node, inner, left_brace, right_brace, single_line)
                                    Severity: Minor
                                    Found in lib/rubocop/cop/layout/space_inside_block_braces.rb - About 35 mins to fix

                                      Method line_breaks has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                            def line_breaks(node, source, previous_line_num, base_line_num, node_index)
                                      Severity: Minor
                                      Found in lib/rubocop/cop/correctors/percent_literal_corrector.rb - About 35 mins to fix

                                        Method empty_corrections has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                                def empty_corrections(processed_source, corrector, empty_config,
                                                                      left_token, right_token)
                                        Severity: Minor
                                        Found in lib/rubocop/cop/correctors/space_corrector.rb - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language