From d5e3869a70b921a94297b75f3e880e84bb2d2fd8 Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Thu, 15 Jun 2023 02:13:35 +0900 Subject: [PATCH] Suppress a warning for a custom cop This commit suppresses the following warning for a custom cop: ```console $ bundle exec rake (snip) rubocop .rubocop.yml: RSpec/FactoryBot/CreateList has the wrong namespace - should be FactoryBot ``` RuboCop AST does not use factory_bot, so it is an unnecessary config. --- .rubocop.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index c9143e6c8..2f05d87bb 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -120,8 +120,5 @@ RSpec/NestedGroups: RSpec/MultipleMemoizedHelpers: Enabled: false -RSpec/FactoryBot/CreateList: - Enabled: false - RSpec/StubbedMock: Enabled: false