Sha256: b16988c7cc9781961f69b63401ee2466a57649e6ff1c5e07bf694cd13980fdad
Contents?: true
Size: 611 Bytes
Versions: 20
Compression:
Stored size: 611 Bytes
Contents
# frozen_string_literal: true module Quality module Tools # Adds 'bigfiles' tool support to quality gem class Mdl < Tool def mdl_args markdown_files.join(' ') end def quality_mdl if mdl_args.empty? puts 'No markdown files found--skipping mdl' return end ratchet_quality_cmd('mdl', args: mdl_args, gives_error_code_on_violations: true) do |line| if line =~ /\d: MD/ 1 else 0 end end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems