Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit 23160b2

Browse files
Merge pull request #10 from toptal/update-rubocop-template-metrics-abcsize
Update Metrics/AbcSize max to 20 in the RuboCop's configuration template
2 parents 144b9d1 + 64085ac commit 23160b2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

lib/archfiend/generators/daemon/templates/.rubocop.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ Lint/UriEscapeUnescape:
102102
Lint/Void:
103103
Enabled: false
104104

105+
Metrics/AbcSize:
106+
Max: 20
107+
105108
Metrics/BlockLength:
106109
Enabled: false
107110

scripts/travis/checks/footprint.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def check_time(name, entry, max)
3434
end
3535

3636
def run_checker(require_string)
37-
`RUBYLIB=./lib analyze_requires -f json -n 100 archfiend #{require_string}`
37+
`RUBYLIB=./lib analyze_requires -r -f json -n 100 archfiend #{require_string}`
3838
end
3939

4040
def footprint_json(require_string)

0 commit comments

Comments
 (0)