Sha256: 152955aae0b2eecb4a78c8c6f42a1d9ca33acc3579350f9026c2526c8e91d985

Contents?: true

Size: 367 Bytes

Versions: 6897

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,897 entries across 6,872 versions & 30 rubygems

Version Path
grape-extra_validators-1.0.0 vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/formatter/quiet_formatter.rb
grape-extra_validators-1.0.0 vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/formatter/quiet_formatter.rb
rubocop-0.79.0 lib/rubocop/formatter/quiet_formatter.rb
rubocop-0.78.0 lib/rubocop/formatter/quiet_formatter.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/rubocop-0.75.1/lib/rubocop/formatter/quiet_formatter.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/formatter/quiet_formatter.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/formatter/quiet_formatter.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/rubocop-0.75.0/lib/rubocop/formatter/quiet_formatter.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/quiet_formatter.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/rubocop-0.72.0/lib/rubocop/formatter/quiet_formatter.rb
rubocop-0.77.0 lib/rubocop/formatter/quiet_formatter.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/rubocop-0.75.1/lib/rubocop/formatter/quiet_formatter.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/formatter/quiet_formatter.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/rubocop-0.75.0/lib/rubocop/formatter/quiet_formatter.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/quiet_formatter.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/rubocop-0.72.0/lib/rubocop/formatter/quiet_formatter.rb
rubocop-0.76.0 lib/rubocop/formatter/quiet_formatter.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/rubocop-0.72.0/lib/rubocop/formatter/quiet_formatter.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/rubocop-0.75.1/lib/rubocop/formatter/quiet_formatter.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/rubocop-0.75.0/lib/rubocop/formatter/quiet_formatter.rb