mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
(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:
parent
71a5af9e88
commit
85a2fa4f20
4 changed files with 578 additions and 0 deletions
3
Gemfile
3
Gemfile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue