Increase Metrics/BlockLength limit instead of disabling the cop for the block in install_args
This commit is contained in:
parent
9b678c365b
commit
26ea79e1e6
@ -16,7 +16,7 @@ Lint/NestedMethodDefinition:
|
||||
Metrics/AbcSize:
|
||||
Max: 280
|
||||
Metrics/BlockLength:
|
||||
Max: 103
|
||||
Max: 106
|
||||
Exclude:
|
||||
# TODO: extract more of the bottling logic
|
||||
- "dev-cmd/bottle.rb"
|
||||
|
||||
@ -22,7 +22,6 @@ module Homebrew
|
||||
|
||||
sig { returns(CLI::Parser) }
|
||||
def install_args
|
||||
# rubocop:disable Metrics/BlockLength
|
||||
Homebrew::CLI::Parser.new do
|
||||
description <<~EOS
|
||||
Install a <formula> or <cask>. Additional options specific to a <formula> may be
|
||||
@ -136,7 +135,6 @@ module Homebrew
|
||||
|
||||
named_args [:formula, :cask], min: 1
|
||||
end
|
||||
# rubocop:enable Metrics/BlockLength
|
||||
end
|
||||
|
||||
def install
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user