Method: Boring::Rubocop::InstallGenerator#add_rails_prefered_rubocop_rules

Defined in:
lib/generators/boring/rubocop/install/install_generator.rb

#add_rails_prefered_rubocop_rulesObject



35
36
37
38
39
40
# File 'lib/generators/boring/rubocop/install/install_generator.rb', line 35

def add_rails_prefered_rubocop_rules
  say "Adding rubocop style guides", :green
  @skip_adding_rules = options[:skip_adding_rubocop_rules]
  @target_ruby_version = options[:ruby_version]
  template(".rubocop.yml", ".rubocop.yml")
end