Sha256: bb474ea742181d3865d59f5f0792b16e61af860b4032587eb0f6787080a29940

Contents?: true

Size: 398 Bytes

Versions: 6

Compression:

Stored size: 398 Bytes

Contents

# frozen_string_literal: true

begin
  require 'rubocop/rake_task'

  Rake::Task[:default].enhance [:rubocop]

  RuboCop::RakeTask.new do |task|
    task.options << '--display-cop-names'
  end

  namespace :rubocop do
    desc 'Generate a configuration file acting as a TODO list.'
    task :auto_gen_config do
      exec 'bundle exec rubocop --auto-gen-config'
    end
  end

rescue LoadError
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
dry-auto_inject-0.7.0 rakelib/rubocop.rake
dry-monitor-0.3.1 rakelib/rubocop.rake
dry-auto_inject-0.6.1 rakelib/rubocop.rake
dry-auto_inject-0.6.0 rakelib/rubocop.rake
dry-auto_inject-0.5.0 rakelib/rubocop.rake
dry-auto_inject-0.4.6 rakelib/rubocop.rake