config/default.yml in rubocop-1.9.0 vs config/default.yml in rubocop-1.9.1
- old
+ new
@@ -3519,9 +3519,12 @@
Style/IfWithBooleanLiteralBranches:
Description: 'Checks for redundant `if` with boolean literal branches.'
Enabled: pending
VersionAdded: '1.9'
+ SafeAutoCorrect: false
+ AllowedMethods:
+ - nonzero?
Style/IfWithSemicolon:
Description: 'Do not use if x; .... Use the ternary operator instead.'
StyleGuide: '#no-semicolon-ifs'
Enabled: true