File tree Expand file tree Collapse file tree 2 files changed +5
-33
lines changed Expand file tree Collapse file tree 2 files changed +5
-33
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,11 @@ inherit_from: .rubocop_todo.yml
22
33AllCops :
44 TargetRubyVersion : 1.9
5+ DisplayCopNames : true
56 Exclude :
67 - .git/**/*
78 - spec/core/middleware/response/sanitize_response_spec.rb
9+ - vendor/**/*
810
911# Align ends correctly.
1012Lint/EndAlignment :
@@ -33,3 +35,6 @@ Style/MultilineMethodCallIndentation:
3335# Checks indentation of binary operations that span more than one line.
3436Style/MultilineOperationIndentation :
3537 EnforcedStyle : indented
38+
39+ Metrics :
40+ Enabled : false
Original file line number Diff line number Diff line change @@ -65,39 +65,6 @@ Lint/Void:
6565 Exclude :
6666 - ' lib/zendesk_api/middleware/request/encode_json.rb'
6767
68- # Offense count: 27
69- Metrics/AbcSize :
70- Max : 68
71-
72- # Offense count: 3
73- # Configuration parameters: CountComments.
74- Metrics/ClassLength :
75- Max : 309
76-
77- # Offense count: 19
78- Metrics/CyclomaticComplexity :
79- Max : 12
80-
81- # Offense count: 425
82- # Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
83- # URISchemes: http, https
84- Metrics/LineLength :
85- Max : 158
86-
87- # Offense count: 37
88- # Configuration parameters: CountComments.
89- Metrics/MethodLength :
90- Max : 52
91-
92- # Offense count: 1
93- # Configuration parameters: CountComments.
94- Metrics/ModuleLength :
95- Max : 140
96-
97- # Offense count: 16
98- Metrics/PerceivedComplexity :
99- Max : 14
100-
10168# Offense count: 1
10269# Cop supports --auto-correct.
10370Performance/RedundantBlockCall :
You can’t perform that action at this time.
0 commit comments