Skip to content

Commit 4d42b3a

Browse files
(PUP-11767) Disable Style/HashEachMethods
1 parent d035114 commit 4d42b3a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.rubocop.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,3 +298,9 @@ Style/HashAsLastArrayItem:
298298

299299
Style/HashConversion:
300300
Enabled: true
301+
302+
# HashEachMethods does not guarantee the receiver is a Hash, so
303+
# this will not work since numerous puppet classes define #value
304+
# not #each_value
305+
Style/HashEachMethods:
306+
Enabled: false

0 commit comments

Comments
 (0)