Skip to content

Commit

Permalink
Merge pull request #10483 from igor-makarov/remove-block-length
Browse files Browse the repository at this point in the history
disable `Metrics/BlockLength`
  • Loading branch information
segiddins committed Mar 2, 2021
2 parents 592761b + f1a4a8b commit b16c090
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .rubocop_cocoapods.yml
Expand Up @@ -57,6 +57,11 @@ GuardClause:
Next:
Enabled: false

# Arbitrary max lengths for classes simply do not work and enabling this will
# lead to a never ending stream of annoyance and changes.
Metrics/BlockLength:
Enabled: false

# Arbitrary max lengths for classes simply do not work and enabling this will
# lead to a never ending stream of annoyance and changes.
Metrics/ClassLength:
Expand Down
5 changes: 0 additions & 5 deletions .rubocop_todo.yml
Expand Up @@ -234,11 +234,6 @@ Lint/UriRegexp:
Lint/UselessAccessModifier:
Enabled: false

# Offense count: 373
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/BlockLength:
Max: 1476

# Offense count: 7099
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Expand Down
4 changes: 2 additions & 2 deletions spec/unit/installer/analyzer_spec.rb
@@ -1,8 +1,8 @@
require File.expand_path('../../../spec_helper', __FILE__)

module Pod
describe Installer::Analyzer do # rubocop:disable Metrics/BlockLength
describe 'Analysis' do # rubocop:disable Metrics/BlockLength
describe Installer::Analyzer do
describe 'Analysis' do
before do
repos = [Source.new(fixture('spec-repos/test_repo')), TrunkSource.new(fixture('spec-repos/trunk'))]
aggregate = Pod::Source::Aggregate.new(repos)
Expand Down

0 comments on commit b16c090

Please sign in to comment.