Sha256: 152955aae0b2eecb4a78c8c6f42a1d9ca33acc3579350f9026c2526c8e91d985

Contents?: true

Size: 367 Bytes

Versions: 6853

Compression:

Stored size: 367 Bytes

Contents

# frozen_string_literal: true

module RuboCop
  module Formatter
    # If no offenses are found, no output is displayed.
    # Otherwise, SimpleTextFormatter's output is displayed.
    class QuietFormatter < SimpleTextFormatter
      def report_summary(file_count, offense_count, correction_count)
        super unless offense_count.zero?
      end
    end
  end
end

Version data entries

6,853 entries across 6,828 versions & 29 rubygems

Version Path
rubocop-0.58.2 lib/rubocop/formatter/quiet_formatter.rb
rubocop-0.58.1 lib/rubocop/formatter/quiet_formatter.rb
rubocop-0.58.0 lib/rubocop/formatter/quiet_formatter.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/rubocop-0.57.2/lib/rubocop/formatter/quiet_formatter.rb
rubocop-0.57.2 lib/rubocop/formatter/quiet_formatter.rb
rubocop-0.57.1 lib/rubocop/formatter/quiet_formatter.rb
rubocop-0.57.0 lib/rubocop/formatter/quiet_formatter.rb
rubocop-0.56.0 lib/rubocop/formatter/quiet_formatter.rb
rubocop-0.55.0 lib/rubocop/formatter/quiet_formatter.rb
rubocop-0.54.0 lib/rubocop/formatter/quiet_formatter.rb
rubocop-0.53.0 lib/rubocop/formatter/quiet_formatter.rb
rubocop-0.52.1 lib/rubocop/formatter/quiet_formatter.rb
rubocop-0.52.0 lib/rubocop/formatter/quiet_formatter.rb