Showing 3 of 5 total issues
Block has too many lines. [38/25] Open
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
- Read upRead up
- Exclude checks
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
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`
- Read upRead up
- Exclude checks
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
Open
# rubocop:disable Metrics/MethodLength
- Exclude checks