codeclimate/codeclimate-rubocop

View on GitHub

Showing 3 of 5 total issues

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.

Re-enable Metrics/MethodLength cop with # rubocop:enable after disabling it.
Open

      # rubocop:disable Metrics/MethodLength
Severity: Minor
Found in lib/cc/engine/issue.rb by rubocop
Severity
Category
Status
Source
Language