Sha256: b680c3cd767dc943b609ee730df8db6f19f9e8cb92e36653ac38e51b2e41986c
Contents?: true
Size: 358 Bytes
Versions: 10
Compression:
Stored size: 358 Bytes
Contents
require 'rubocop' require 'rubocop/rake_task' desc 'Run RuboCop' RuboCop::RakeTask.new(:rubocop) do |cop| next unless ENV['GENERATE_REPORTS'] output = ENV['RUBOCOP_OUTPUT'] || 'artifacts/rubocop/index.html' puts "Writing RuboCop inspection report to #{output}" cop.verbose = false cop.formatters = ['html'] cop.options = ['--out', output] end
Version data entries
10 entries across 10 versions & 1 rubygems