Rakefile in govuk_app_config-2.2.0 vs Rakefile in govuk_app_config-2.2.1
- old
+ new
@@ -1,6 +1,11 @@
require "bundler/gem_tasks"
require "rspec/core/rake_task"
RSpec::Core::RakeTask.new(:spec)
-task :default => :spec
+desc "Lint Ruby"
+task :lint do
+ sh "bundle exec rubocop --format clang"
+end
+
+task default: %i[spec lint]