diff --git a/config/default.yml b/config/default.yml index c139de0..44df4ff 100644 --- a/config/default.yml +++ b/config/default.yml @@ -3,7 +3,7 @@ Overhaul/MutableReformDefaults: Description: Detect usage of mutable defaults within Reform objects defaults. Enabled: true Include: - app/concepts/**/*.rb + - app/concepts/**/*.rb VersionAdded: '0.0.1' Overhaul/AssignmentInsteadOfComparison: Description: Detect enumerable comparison blocks returning an assignment. diff --git a/rubocop-overhaul.gemspec b/rubocop-overhaul.gemspec index 1377d7d..1c47b4b 100644 --- a/rubocop-overhaul.gemspec +++ b/rubocop-overhaul.gemspec @@ -19,7 +19,7 @@ Gem::Specification.new do |spec| "rubygems_mfa_required" => "true" } - spec.files = Dir["lib/**/*"] + Dir["oh_defaults/*"] + spec.files = Dir["{lib,config,oh_defaults}/**/*"] spec.add_dependency "rubocop", "~> 1.33" end