We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b7fc134 + 776605c commit 2ffe982Copy full SHA for 2ffe982
.rubocop.yml
@@ -16,6 +16,9 @@ AllCops:
16
- 'tmp/**/*'
17
- 'spec/smoke_tests/**/*.rb'
18
19
+InternalAffairs/OnSendWithoutOnCSend:
20
+ Enabled: false
21
+
22
Layout/HashAlignment:
23
EnforcedHashRocketStyle:
24
- key
lib/rubocop/rspec_rails/description_extractor.rb
@@ -57,8 +57,8 @@ def documented_constant
57
end
58
59
def cop_subclass?
60
- yardoc.superclass.path == RSPEC_RAILS_COP_CLASS_NAME ||
61
- yardoc.superclass.path == RUBOCOP_COP_CLASS_NAME
+ [RSPEC_RAILS_COP_CLASS_NAME,
+ RUBOCOP_COP_CLASS_NAME].include?(yardoc.superclass.path)
62
63
64
def abstract?
0 commit comments