Sha256: e2a1d2aa0c540f3242d5af47665a3a6d8ccf90b4821be6186017dc9057c24de4
Contents?: true
Size: 532 Bytes
Versions: 4
Compression:
Stored size: 532 Bytes
Contents
module Copperizer class ConfigGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) desc <<DESC Description: Copies master configuration file to your project root directory as `rubocop.local.yml`. Creates project specific settings in `rubocop.yml` that inherit from master congig. DESC def master_config copy_file 'rubocop.localch.yml', '.rubocop.localch.yml', force: true end def project_config copy_file 'rubocop.yml', '.rubocop.yml' end end end
Version data entries
4 entries across 4 versions & 1 rubygems