]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commitdiff
Update to puppet-resource_api's rubocop config
authorDavid Schmitt <david.schmitt@puppet.com>
Tue, 12 Sep 2017 13:37:06 +0000 (14:37 +0100)
committerDavid Schmitt <david.schmitt@puppet.com>
Tue, 12 Sep 2017 13:37:10 +0000 (14:37 +0100)
.rubocop.yml

index d66cbd686d3474c58a5c634a8aabb94ce133023e..f986860538ec42df7a820b7ac86c2c48d7b2f46b 100644 (file)
@@ -62,6 +62,8 @@ Style/TrailingCommaInLiteral:
 Style/SymbolArray:
   Description: Using percent style obscures symbolic intent of array's contents.
   EnforcedStyle: brackets
+Layout/EndOfLine:
+  Enabled: false
 Style/CollectionMethods:
   Enabled: true
 Style/MethodCalledOnDoEndBlock:
@@ -86,11 +88,21 @@ Metrics/PerceivedComplexity:
   Enabled: false
 RSpec/DescribeClass:
   Enabled: false
+RSpec/ExampleLength:
+  Enabled: false
 RSpec/MessageExpectation:
   Enabled: false
+RSpec/MultipleExpectations:
+  Enabled: false
+RSpec/NestedGroups:
+  Enabled: false
 Style/AsciiComments:
   Enabled: false
 Style/IfUnlessModifier:
   Enabled: false
 Style/SymbolProc:
   Enabled: false
+
+# Interacting with external API makes message spies pretty useless
+RSpec/MessageSpies:
+  Enabled: false