Fixed Reek Rake task to include Hanami source files

By default, Reek only looks at the `lib` folder so this ensures all Hanami source files are inspected.

Milestone: patch
This commit is contained in:
Brooke Kuhlmann
2026-06-22 15:54:36 -06:00
parent 76b2da6f00
commit af0fc567a9
+1 -1
View File
@@ -9,7 +9,7 @@ require "rspec/core/rake_task"
require "rubocop/rake_task"
Git::Lint::Rake::Register.call
Reek::Rake::Task.new
Reek::Rake::Task.new { |task| task.source_files = "{app,config,lib,slices}/**/*.rb" }
RSpec::Core::RakeTask.new { |task| task.verbose = false }
RuboCop::RakeTask.new