Sha256: e5fc221088c447f83d47621ac1b6a86ff996ddc1d4f7e37fffaf865a61a56a1d
Contents?: true
Size: 644 Bytes
Versions: 1
Compression:
Stored size: 644 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 in_root { run 'bundle exec overcommit --install' } end def rubocop_autocorrect in_root { run 'bundle exec rubocop --auto-correct-all' } end def rubocop_todo in_root { run 'bundle exec rubocop --auto-gen-config' } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bankai-0.9.0 | lib/bankai/generators/lint_generator.rb |