We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0837275 + 1a14ea8 commit 049e547Copy full SHA for 049e547
Rakefile
@@ -5,4 +5,6 @@ require_relative "config/application"
5
6
Rails.application.load_tasks
7
8
-task default: %i[spec]
+# Undo any existing default tasks added by dependencies so we can redefine the task
9
+Rake::Task[:default].clear if Rake::Task.task_defined?(:default)
10
+task default: %i[lint spec]
lib/tasks/lint.rake
@@ -0,0 +1,4 @@
1
+desc "Run all linters"
2
+task lint: :environment do
3
+ sh "bundle exec rubocop"
4
+end
0 commit comments