class RuboCop::Formatter::DisabledConfigFormatter

def output_cop(cop_name, offense_count)

def output_cop(cop_name, offense_count)
  output.puts
  cfg = self.class.config_to_allow_offenses[cop_name] || {}
  # To avoid malformed YAML when potentially reading the config in
  # #excludes, we use an output buffer and append it to the actual output
  # only when it results in valid YAML.
  output_buffer = StringIO.new
  output_cop_comments(output_buffer, cfg, cop_name, offense_count)
  output_cop_config(output_buffer, cfg, cop_name)
  output.puts(output_buffer.string)
end