Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Commit

Permalink
Disable meaningless Style/YodaExpression as Style/YodaCondition did
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Jan 3, 2023
1 parent 821899a commit 4dec602
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .rubocop.yml
Expand Up @@ -727,6 +727,9 @@ Style/WordArray:
Style/YodaCondition:
Enabled: false

Style/YodaExpression:
Enabled: false

Style/ZeroLengthPredicate:
Enabled: true

Expand Down

0 comments on commit 4dec602

Please sign in to comment.