14 lines
194 B
Ruby
14 lines
194 B
Ruby
# frozen_string_literal: true
|
|
|
|
task default: :lint
|
|
|
|
task lint: :rubocop
|
|
|
|
task fix: 'rubocop:auto_correct'
|
|
|
|
begin
|
|
require 'rubocop/rake_task'
|
|
RuboCop::RakeTask.new
|
|
rescue LoadError
|
|
nil
|
|
end
|