.rubocop.yml in puppet-resource_api-0.9.0 vs .rubocop.yml in puppet-resource_api-0.10.0

- old
+ new

@@ -60,14 +60,10 @@ EnforcedStyle: require_parentheses_when_complex Style/TrailingCommaInArguments: Description: Prefer always trailing comma on multiline argument lists. This makes diffs, and re-ordering nicer. EnforcedStyleForMultiline: comma -Style/TrailingCommaInLiteral: - Description: Prefer always trailing comma on multiline literals. This makes diffs, - and re-ordering nicer. - EnforcedStyleForMultiline: comma Style/SymbolArray: Description: Using percent style obscures symbolic intent of array's contents. EnforcedStyle: brackets Layout/EndOfLine: Enabled: false @@ -133,5 +129,28 @@ # requires 2.3's squiggly HEREDOC support, which we can't use, yet # see http://www.virtuouscode.com/2016/01/06/about-the-ruby-squiggly-heredoc-syntax/ Layout/IndentHeredoc: Enabled: false + +# Updated in 0.53 (or thereabouts) +Style/TrailingCommaInArrayLiteral: + Description: Prefer always trailing comma on multiline literals. This makes diffs, + and re-ordering nicer. + EnforcedStyleForMultiline: comma +Style/TrailingCommaInHashLiteral: + Description: Prefer always trailing comma on multiline literals. This makes diffs, + and re-ordering nicer. + EnforcedStyleForMultiline: comma + +# Add allowing "is", as it is a technical term in puppet +Naming/UncommunicativeMethodParamName: + Description: Checks for method parameter names that contain capital letters, end in + numbers, or do not meet a minimal length. + Enabled: true + MinNameLength: 3 + AllowNamesEndingInNumbers: true + AllowedNames: + - io + - id + - is + ForbiddenNames: []