From 824f3655e50ed310b8cd85521f07291ee448c458 Mon Sep 17 00:00:00 2001 From: "M. Oleske" Date: Tue, 16 Jan 2024 16:55:42 -0800 Subject: [PATCH] Enable new cops Capybara/RedundantWithinField and FactoryBot/ExcessiveCreateList --- .rubocop_cc.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.rubocop_cc.yml b/.rubocop_cc.yml index e23fc419548..12fd29df476 100644 --- a/.rubocop_cc.yml +++ b/.rubocop_cc.yml @@ -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: @@ -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: