codeclimate/codeclimate-rubocop

View on GitHub
lib/tasks/docs.rake

Summary

Maintainability
Test Coverage

Block has too many lines. [38/25]
Open

namespace :docs do
  desc "Scrapes documentation from the rubocop gem"
  task :scrape do
    MIN_LINES = 3
    COP_FOLDERS = %w[bundler gemspec layout lint metrics naming performance rails security style].freeze
Severity: Minor
Found in lib/tasks/docs.rake by rubocop

This cop checks if the length of a block exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable. The cop can be configured to ignore blocks passed to certain methods.

Block has too many lines. [35/25]
Open

  task :scrape do
    MIN_LINES = 3
    COP_FOLDERS = %w[bundler gemspec layout lint metrics naming performance rails security style].freeze

    `git clone https://github.com/rubocop-hq/rubocop rubocop-git`
Severity: Minor
Found in lib/tasks/docs.rake by rubocop

This cop checks if the length of a block exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable. The cop can be configured to ignore blocks passed to certain methods.

There are no issues that match your filters.

Category
Status