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.
1 parent 676b2f4 commit b3bd0eeCopy full SHA for b3bd0ee
lib/rubocop/rspec/config_formatter.rb
@@ -22,16 +22,14 @@ def dump
22
23
def unified_config
24
cops.each_with_object(config.dup) do |cop, unified|
25
- next if cop == 'RSpec' # Skip department-level configuration
26
-
27
unified[cop] = config.fetch(cop)
28
.merge(descriptions.fetch(cop))
29
.merge('StyleGuide' => STYLE_GUIDE_BASE_URL + cop.sub('RSpec/', ''))
30
end
31
32
33
def cops
34
- (descriptions.keys | config.keys).grep(NAMESPACES)
+ (descriptions.keys | config.keys).grep(NAMESPACES) - ['RSpec']
35
36
37
attr_reader :config, :descriptions
0 commit comments