Sha256: 4699b79a67c0a7716da2e7803760853849622282e6a6ee2c6848d099e4952060

Contents?: true

Size: 282 Bytes

Versions: 1

Compression:

Stored size: 282 Bytes

Contents

# frozen_string_literal: true

require 'rails/generators/base'

module RuboCop
  class ConfigGenerator < Rails::Generators::Base
    source_root File.expand_path('../templates', __FILE__)

    def copy_default_config
      copy_file '.rubocop.yml', '.rubocop.yml'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bestie-0.2.0 lib/generators/rubo_cop/config_generator.rb