Skip to content

Commit

Permalink
Enable Lint/DuplicateCaseCondition
Browse files Browse the repository at this point in the history
  • Loading branch information
andyw8 committed Jan 23, 2025
1 parent a672dca commit 5f89557
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,6 @@ Lint/DisjunctiveAssignmentInConstructor:
Lint/DuplicateBranch:
Enabled: false

Lint/DuplicateCaseCondition:
Enabled: false

Lint/DuplicateElsifCondition:
Enabled: false

Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/full_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit 5f89557

Please sign in to comment.