Skip to content

Commit

Permalink
Disable RSpec/ExampleWording (#120)
Browse files Browse the repository at this point in the history
Autocorrecting this can lead to confusing results, an example of this going wrong is at # gocardless/abacus#3268 (review)

So we decided to disable it instead
  • Loading branch information
pmamberti authored Apr 10, 2024
1 parent a73f3bf commit 8e69425
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -675,3 +675,7 @@ FactoryBot/ConsistentParenthesesStyle: # new in 2.14
Style/AndOr:
Enabled: true
EnforcedStyle: always

# Autocorrect is a little simplified and can lead to confusion
RSpec/ExampleWording:
Enabled: false

0 comments on commit 8e69425

Please sign in to comment.