config/default.yml in rubocop-1.10.0 vs config/default.yml in rubocop-1.11.0

- old
+ new

@@ -3444,10 +3444,12 @@ Style/HashConversion: Description: 'Avoid Hash[] in favor of ary.to_h or literal hashes.' Enabled: pending VersionAdded: '1.10' + VersionChanged: '1.11' + AllowSplatArgument: true Style/HashEachMethods: Description: 'Use Hash#each_key and Hash#each_value.' StyleGuide: '#hash-each' Enabled: true @@ -4584,10 +4586,11 @@ Description: 'Use symbols as procs instead of blocks when possible.' Enabled: true Safe: false VersionAdded: '0.26' VersionChanged: '1.5' + AllowMethodsWithArguments: false # A list of method names to be ignored by the check. # The names should be fairly unique, otherwise you'll end up ignoring lots of code. IgnoredMethods: - respond_to - define_method @@ -4735,9 +4738,19 @@ Do not use unless with else. Rewrite these with the positive case first. StyleGuide: '#no-else-with-unless' Enabled: true VersionAdded: '0.9' + +Style/UnlessLogicalOperators: + Description: >- + Checks for use of logical operators in an unless condition. + Enabled: false + VersionAdded: '1.11' + EnforcedStyle: forbid_mixed_logical_operators + SupportedStyles: + - forbid_mixed_logical_operators + - forbid_logical_operators Style/UnpackFirst: Description: >- Checks for accessing the first element of `String#unpack` instead of using `unpack1`.