Skip to content

Commit

Permalink
Disable rubocop
Browse files Browse the repository at this point in the history
It causes more issues than it solves. Ideally we can switch to a
simpler formatting tool and make it part of commit hooks rather
than a CI step.
  • Loading branch information
lsegal committed Jun 27, 2019
1 parent 225ded9 commit 593973c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 106 deletions.
99 changes: 0 additions & 99 deletions .rubocop.yml

This file was deleted.

1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ group :development do
gem 'simplecov'
gem 'samus', '~> 3.0.8', :require => false
gem 'coveralls', :require => false
gem 'rubocop', '0.44.1', :require => false
end

group :asciidoc do
Expand Down
7 changes: 1 addition & 6 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,12 @@ rescue LoadError
nil # noop
end

desc "Check code style with Rubocop"
task :rubocop do
sh "rubocop"
end

desc "Generate documentation for Yard, and fail if there are any warnings"
task :test_doc do
sh "ruby bin/yard --fail-on-warning #{"--no-progress" if ENV["CI"]}"
end

task :default => [:rubocop, :spec, :test_doc]
task :default => [:spec, :test_doc]

YARD::Rake::YardocTask.new do |t|
t.options += ['--title', "YARD #{YARD::VERSION} Documentation"]
Expand Down

0 comments on commit 593973c

Please sign in to comment.