Sha256: 6faff6dfb86608c0123fc32fc50d052c3d12cf071303033dfb004614408824f4
Contents?: true
Size: 484 Bytes
Versions: 24
Compression:
Stored size: 484 Bytes
Contents
# frozen_string_literal: true require_relative '../base_report' module Reek module Report # # Displays a list of smells in Code Climate engine format # (https://github.com/codeclimate/spec/blob/master/SPEC.md) # JSON with empty array for 0 smells # class CodeClimateReport < BaseReport def show(out = $stdout) smells.map do |smell| out.print warning_formatter.format_code_climate_hash(smell) end end end end end
Version data entries
24 entries across 22 versions & 2 rubygems