Skip to content

Commit

Permalink
Merge branch 'master' into sles
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMeier authored May 15, 2024
2 parents 7fe18a3 + dbe14d5 commit 8249844
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -197,15 +197,7 @@ rescue LoadError
end

begin
require 'rubocop/rake_task'
require 'voxpupuli/rubocop/rake'
rescue LoadError
# RuboCop is an optional group
else
RuboCop::RakeTask.new(:rubocop) do |task|
# These make the rubocop experience maybe slightly less terrible
task.options = ['--display-cop-names', '--display-style-guide', '--extra-details']

# Use Rubocop's Github Actions formatter if possible
task.formatters << 'github' if ENV['GITHUB_ACTIONS'] == 'true'
end
# the voxpupuli-rubocop gem is optional
end

0 comments on commit 8249844

Please sign in to comment.