Sha256: ff3fc5f2437272f43e09cf23b87ed8a2ea5d488ba8bbdf15841f41aaf8ad7434
Contents?: true
Size: 650 Bytes
Versions: 7
Compression:
Stored size: 650 Bytes
Contents
# frozen_string_literal: true require_relative 'base' module Bankai module Generators # :nodoc: class LintGenerator < Base def configure_overcommit template 'overcommit.yml.erb', '.overcommit.yml' end def configure_rubocop template 'rubocop.yml.erb', '.rubocop.yml' end def install_overcommit execute_command :bundle, 'exec overcommit --install' end def rubocop_autocorrect execute_command :bundle, 'exec rubocop --auto-correct-all' end def rubocop_todo execute_command :bundle, 'exec rubocop --auto-gen-config' end end end end
Version data entries
7 entries across 7 versions & 1 rubygems