Skip to content

Commit

Permalink
Merge pull request #3602 from cloudfoundry/enable-new-rubocops
Browse files Browse the repository at this point in the history
Enable new cops Capybara/RedundantWithinField and FactoryBot/Excessiv…
  • Loading branch information
philippthun authored Jan 17, 2024
2 parents b478dd0 + 824f365 commit 41f6344
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .rubocop_cc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,8 @@ Capybara/MatchStyle:
Enabled: false
Capybara/NegationMatcher:
Enabled: false
Capybara/RedundantWithinFind: # new in 2.20
Enabled: true
Capybara/SpecificActions:
Enabled: false
Capybara/SpecificFinders:
Expand All @@ -462,6 +464,8 @@ FactoryBot/AssociationStyle:
Enabled: true
FactoryBot/ConsistentParenthesesStyle:
Enabled: true
FactoryBot/ExcessiveCreateList: # new in 2.25
Enabled: true
FactoryBot/FactoryAssociationWithStrategy:
Enabled: true
FactoryBot/FactoryNameStyle:
Expand Down

0 comments on commit 41f6344

Please sign in to comment.