Enable rubocop-rspec in rubocop's config

This makes it run also when running rubocop from bundler instead
of the rake task.
This commit is contained in:
Claudio Bley 2020-12-22 21:18:37 +01:00
parent 7f0af24ada
commit 45f5162644
2 changed files with 2 additions and 3 deletions

View file

@ -1,6 +1,7 @@
require:
- rubocop-performance
- rubocop-rake
- rubocop-rspec
AllCops:
Exclude:

View file

@ -10,9 +10,7 @@ RSpec::Core::RakeTask.new(:spec) do |t|
end
require 'rubocop/rake_task'
RuboCop::RakeTask.new do |task|
task.requires << 'rubocop-rspec'
end
RuboCop::RakeTask.new
desc 'Build the manual'
file 'man/colorls.1' => ['man/colorls.1.ronn', 'lib/colorls/flags.rb'] do