diff --git a/rubocop.yml b/rubocop.yml index 6f6543ee..5d251157 100644 --- a/rubocop.yml +++ b/rubocop.yml @@ -129,9 +129,6 @@ Lint/DisjunctiveAssignmentInConstructor: Lint/DuplicateBranch: Enabled: false -Lint/DuplicateCaseCondition: - Enabled: false - Lint/DuplicateElsifCondition: Enabled: false diff --git a/test/fixtures/full_config.yml b/test/fixtures/full_config.yml index fef84296..08712135 100644 --- a/test/fixtures/full_config.yml +++ b/test/fixtures/full_config.yml @@ -1262,7 +1262,7 @@ Lint/DuplicateBranch: IgnoreConstantBranches: false Lint/DuplicateCaseCondition: Description: Do not repeat values in case conditionals. - Enabled: false + Enabled: true VersionAdded: '0.45' Lint/DuplicateElsifCondition: Description: Do not repeat conditions used in if `elsif`.