config/default.yml in rubocop-1.56.4 vs config/default.yml in rubocop-1.57.0

- old
+ new

@@ -2168,11 +2168,13 @@ VersionAdded: '1.53' Lint/RedundantRequireStatement: Description: 'Checks for unnecessary `require` statement.' Enabled: true + SafeAutoCorrect: false VersionAdded: '0.76' + VersionChanged: '1.57' Lint/RedundantSafeNavigation: Description: 'Checks for redundant safe navigation calls.' Enabled: true VersionAdded: '0.93' @@ -3352,11 +3354,13 @@ Style/ClassEqualityComparison: Description: 'Enforces the use of `Object#instance_of?` instead of class comparison for equality.' StyleGuide: '#instance-of-vs-class-comparison' Enabled: true + SafeAutoCorrect: false VersionAdded: '0.93' + VersionChanged: '1.57' AllowedMethods: - == - equal? - eql? AllowedPatterns: [] @@ -4918,11 +4922,13 @@ Style/RedundantFilterChain: Description: >- Identifies usages of `any?`, `empty?`, `none?` or `one?` predicate methods chained to `select`/`filter`/`find_all` and change them to use predicate method instead. Enabled: pending + SafeAutoCorrect: false VersionAdded: '1.52' + VersionChanged: '1.57' Style/RedundantFreeze: Description: "Checks usages of Object#freeze on immutable objects." Enabled: true VersionAdded: '0.34' @@ -5179,9 +5185,14 @@ - acc - elem - inject: - acc - elem + +Style/SingleLineDoEndBlock: + Description: 'Checks for single-line `do`...`end` blocks.' + Enabled: pending + VersionAdded: '1.57' Style/SingleLineMethods: Description: 'Avoid single-line methods.' StyleGuide: '#no-single-line-methods' Enabled: true