From 345fc0a3af1faab1ea5ca2db22095cf2305d8c7c Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Thu, 16 Dec 2021 11:08:06 +0100 Subject: [PATCH] Rubocop: Disable ImplicitSubject Enabling this cop causes a lot of noise in our project, because ruboop would want us to reformat most of the tests. Explanation of the cop: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ImplicitSubject --- rubocop.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rubocop.yml b/rubocop.yml index 84b45d8..b82f4c2 100644 --- a/rubocop.yml +++ b/rubocop.yml @@ -652,3 +652,5 @@ RSpec/SubjectDeclaration: # new in 2.5 Enabled: true RSpec/Rails/AvoidSetupHook: # new in 2.4 Enabled: true +RSpec/ImplicitSubject: + Enabled: false