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 d4000f8 + ab76d4f commit 929d9e6Copy full SHA for 929d9e6
tasks/cops_documentation.rake
@@ -12,13 +12,8 @@ end
12
13
desc 'Generate docs of all cops departments'
14
task generate_cops_documentation: :yard_for_generate_documentation do
15
- loaded_plugins = RuboCop::ConfigLoader.default_configuration.loaded_plugins
16
- if loaded_plugins.none? { |plugin| plugin.about.name == 'rubocop-rspec' }
17
- RuboCop::ConfigLoader.inject_defaults!("#{__dir__}/../config/default.yml")
18
- end
19
-
20
generator = CopsDocumentationGenerator.new(
21
- departments: %w[RSpec]
+ departments: %w[RSpec], plugin_name: 'rubocop-rspec'
22
)
23
generator.call
24
end
0 commit comments