Rakefile in danger-php_codesniffer-0.1.2 vs Rakefile in danger-php_codesniffer-0.1.3
- old
+ new
@@ -6,16 +6,10 @@
task default: :specs
task :spec do
Rake::Task['specs'].invoke
- Rake::Task['rubocop'].invoke
Rake::Task['spec_docs'].invoke
-end
-
-desc 'Run RuboCop on the lib/specs directory'
-RuboCop::RakeTask.new(:rubocop) do |task|
- task.patterns = ['lib/**/*.rb', 'spec/**/*.rb']
end
desc 'Ensure that the plugin passes `danger plugins lint`'
task :spec_docs do
sh 'bundle exec danger plugins lint'