Skip to content

Commit

Permalink
Enable new cops Capybara/RedundantWithinField and FactoryBot/Excessiv…
Browse files Browse the repository at this point in the history
…eCreateList
  • Loading branch information
moleske committed Jan 17, 2024
1 parent b478dd0 commit 824f365
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 824f365

Please sign in to comment.