tasks/reek.rake

Summary

Maintainability
Test Coverage
# frozen_string_literal: true

begin
  require 'reek/rake/task'
  Reek::Rake::Task.new do |t|
    t.fail_on_error = false
    t.verbose = false
  end
rescue LoadError
  task :reek do
    $stderr.puts 'Reek is disabled'
  end
end