Sha256: a98470d0ead27ba8e57b0178f8ac8cea207e807a0e0ad3efccd4e3baf7806118

Contents?: true

Size: 463 Bytes

Versions: 32

Compression:

Stored size: 463 Bytes

Contents

# frozen_string_literal: true

module RuboCop
  module Formatter
    # This formatter displays just a list of the files with offenses in them,
    # separated by newlines. The output is machine-parsable.
    #
    # Here's the format:
    #
    # /some/file
    # /some/other/file
    class FileListFormatter < BaseFormatter
      def file_finished(file, offenses)
        return if offenses.empty?
        output.printf("%s\n", file)
      end
    end
  end
end

Version data entries

32 entries across 32 versions & 3 rubygems

Version Path
dirwatch-0.0.9 vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/file_list_formatter.rb
dirwatch-0.0.8 vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/file_list_formatter.rb
rubocop-0.58.2 lib/rubocop/formatter/file_list_formatter.rb
rubocop-0.58.1 lib/rubocop/formatter/file_list_formatter.rb
rubocop-0.58.0 lib/rubocop/formatter/file_list_formatter.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/rubocop-0.57.2/lib/rubocop/formatter/file_list_formatter.rb
rubocop-0.57.2 lib/rubocop/formatter/file_list_formatter.rb
rubocop-0.57.1 lib/rubocop/formatter/file_list_formatter.rb
rubocop-0.57.0 lib/rubocop/formatter/file_list_formatter.rb
rubocop-0.56.0 lib/rubocop/formatter/file_list_formatter.rb
rubocop-0.55.0 lib/rubocop/formatter/file_list_formatter.rb
rubocop-0.54.0 lib/rubocop/formatter/file_list_formatter.rb
rubocop-0.53.0 lib/rubocop/formatter/file_list_formatter.rb
rubocop-0.52.1 lib/rubocop/formatter/file_list_formatter.rb
rubocop-0.52.0 lib/rubocop/formatter/file_list_formatter.rb
dirwatch-0.0.6 vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/file_list_formatter.rb
dirwatch-0.0.5 vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/file_list_formatter.rb
dirwatch-0.0.4 vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/file_list_formatter.rb
dirwatch-0.0.3 vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/file_list_formatter.rb
dirwatch-0.0.2 vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/file_list_formatter.rb