Sha256: 9aa6ba132cb0025a588159d7c83650fed9a33de56a6b314392709cbe0eb39f5a
Contents?: true
Size: 476 Bytes
Versions: 298
Compression:
Stored size: 476 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("%<path>s\n", path: file) end end end end
Version data entries
298 entries across 284 versions & 27 rubygems