class ERBLint::Reporters::JsonReporter
def formatted_files
def formatted_files processed_files.map do |filename, offenses| { path: filename, offenses: formatted_offenses(offenses), } end end
def formatted_files processed_files.map do |filename, offenses| { path: filename, offenses: formatted_offenses(offenses), } end end