(maint) Add rubocop for testing

This commit adds the rubocop gem, a rubocop rake task and an initial rubocop
configuration file in prepartion for using rubocop in CI.

This commit also adds a rubocop todo file that exempts existing files from
violations.
This commit is contained in:
Glenn Sarti 2017-02-09 13:30:29 -08:00
parent 71a5af9e88
commit 85a2fa4f20
4 changed files with 578 additions and 0 deletions

View file

@ -22,6 +22,9 @@ group :test do
gem 'rspec', '>= 3.2'
gem 'simplecov', '>= 0.11.2'
gem 'yarjuf', '>= 2.0'
# Rubocop would be ok jruby but for now we only use it on
# MRI or Windows platforms
gem "rubocop", :platforms => [:ruby, :x64_mingw]
end
# Evaluate Gemfile.local if it exists