class Rubocop::Formatter::EmacsStyleFormatter
This formatter displays the report data in format that’s easy to process in the Emacs text editor.
Public Instance Methods
report_file(file, offences)
click to toggle source
# File lib/rubocop/formatter/emacs_style_formatter.rb, line 8 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