Skip to content

Commit 30c0d22

Browse files
committed
Add rubocop-rake extension
This commit adds the rubocop-rake extension to Puppet's Gemfile and Rubocop configuration file, pinning it at 0.6.0 as it's the most recent version, and still supports Ruby 2.5 (which the rest of our Rubocop configuration is set up to support).
1 parent 1e91a7b commit 30c0d22

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.rubocop.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ inherit_from: .rubocop_todo.yml
33
require:
44
- rubocop-i18n
55
- rubocop-performance
6+
- rubocop-rake
67

78
AllCops:
89
TargetRubyVersion: 2.5

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ group(:test) do
5050
gem 'rubocop', '1.28.0', require: false, platforms: [:ruby]
5151
gem 'rubocop-i18n', '~> 3.0', require: false, platforms: [:ruby]
5252
gem 'rubocop-performance', '1.13.3', require: false, platforms: [:ruby]
53+
gem 'rubocop-rake', '0.6.0', require: false, platforms: [:ruby]
5354
end
5455

5556
group(:development, optional: true) do

0 commit comments

Comments
 (0)