.rubocop.yml in trav3-0.2.3 vs .rubocop.yml in trav3-0.2.4

- old
+ new

@@ -2621,11 +2621,11 @@ Style/ExpandPathArguments: Description: "Use `expand_path(__dir__)` instead of `expand_path('..', __FILE__)`." Enabled: true VersionAdded: '0.53' -Style/FlipFlop: +Lint/FlipFlop: Description: 'Checks for flip-flops' StyleGuide: '#no-flip-flops' Enabled: true VersionAdded: '0.16' @@ -3788,15 +3788,15 @@ Style/YodaCondition: Description: 'Do not use literals as the first operand of a comparison.' Reference: 'https://en.wikipedia.org/wiki/Yoda_conditions' Enabled: true - EnforcedStyle: all_comparison_operators + EnforcedStyle: forbid_for_all_comparison_operators SupportedStyles: - # check all comparison operators - - all_comparison_operators - # check only equality operators: `!=` and `==` - - equality_operators_only + - forbid_for_all_comparison_operators + - forbid_for_equality_operators_only + - require_for_all_comparison_operators + - require_for_equality_operators_only VersionAdded: '0.49' VersionChanged: '0.50' Style/ZeroLengthPredicate: Description: 'Use #empty? when testing for objects of length 0.'