config/default.yml in rubocop-1.49.0 vs config/default.yml in rubocop-1.50.0

- old
+ new

@@ -1014,12 +1014,10 @@ - trailing Layout/LineContinuationSpacing: Description: 'Checks the spacing in front of backslash in line continuations.' Enabled: pending - AutoCorrect: true - SafeAutoCorrect: true VersionAdded: '1.31' EnforcedStyle: space SupportedStyles: - space - no_space @@ -1750,10 +1748,15 @@ Lint/DuplicateMagicComment: Description: 'Check for duplicated magic comments.' Enabled: pending VersionAdded: '1.37' +Lint/DuplicateMatchPattern: + Description: 'Do not repeat patterns in `in` keywords.' + Enabled: pending + VersionAdded: '1.50' + Lint/DuplicateMethods: Description: 'Check for duplicate method definitions.' Enabled: true VersionAdded: '0.29' @@ -3741,11 +3744,10 @@ Style/FileEmpty: Description: >- Prefer to use `File.empty?('path/to/file')` when checking if a file is empty. Enabled: pending Safe: false - SafeAutoCorrect: false VersionAdded: '1.48' Style/FileRead: Description: 'Favor `File.(bin)read` convenience methods.' StyleGuide: '#file-read' @@ -4569,14 +4571,13 @@ Style/NumericPredicate: Description: >- Checks for the use of predicate- or comparison methods for numeric comparisons. StyleGuide: '#predicate-methods' - Safe: false # This will change to a new method call which isn't guaranteed to be on the # object. Switching these methods has to be done with knowledge of the types # of the variables which rubocop doesn't have. - SafeAutoCorrect: false + Safe: false Enabled: true VersionAdded: '0.42' VersionChanged: '0.59' EnforcedStyle: predicate SupportedStyles: