Sha256: 236672ab466031374a7d1a133c330185e9f5df8ed5659a15ad320ad5e1ba552c
Contents?: true
Size: 389 Bytes
Versions: 8
Compression:
Stored size: 389 Bytes
Contents
# frozen_string_literal: true module Gemsmith module Skeletons # Configures Rubocop support. class RubocopSkeleton < BaseSkeleton def create return unless configuration.create_rubocop? cli.template "%gem_name%/.rubocop.yml.tt", configuration.to_h cli.template "%gem_name%/lib/tasks/rubocop.rake.tt", configuration.to_h end end end end
Version data entries
8 entries across 8 versions & 1 rubygems