Skip to content

Commit

Permalink
Merge pull request #89 from alphagov/simplify-rubocop-config
Browse files Browse the repository at this point in the history
Simplify rubocop configuration
  • Loading branch information
kevindew authored Sep 23, 2022
2 parents 07190f4 + dba2ad5 commit bdbe587
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
require "bundler/gem_tasks"
require "rake/testtask"
require "rubocop/rake_task"

desc "Run RuboCop"
task :lint, :environment do
sh "bundle exec rubocop --format clang"
end
RuboCop::RakeTask.new

task default: %i[lint test]
task default: %i[rubocop test]

Rake::TestTask.new do |t|
t.libs << "test"
Expand Down

0 comments on commit bdbe587

Please sign in to comment.