mirror of
https://github.com/athityakumar/colorls.git
synced 2024-09-12 05:31:14 +02:00
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:
parent
7f0af24ada
commit
45f5162644
2 changed files with 2 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
require:
|
||||
- rubocop-performance
|
||||
- rubocop-rake
|
||||
- rubocop-rspec
|
||||
|
||||
AllCops:
|
||||
Exclude:
|
||||
|
|
4
Rakefile
4
Rakefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue