Sha256: 934fce37b7161863f9035d4bde0c2b5450c5a248097a7e7602c2b1daf33cc94b
Contents?: true
Size: 476 Bytes
Versions: 6
Compression:
Stored size: 476 Bytes
Contents
# encoding: utf-8 module Rubocop module Formatter # This formatter displays the report data in format that's # easy to process in the Emacs text editor. class EmacsStyleFormatter < SimpleTextFormatter def report_file(file, offences) offences.each do |o| output.printf("%s:%d:%d: %s: %s\n", file, o.line, o.real_column, o.encode_severity, o.message) end end end end end
Version data entries
6 entries across 6 versions & 2 rubygems