1
1
# This configuration was generated by
2
2
# `rubocop --auto-gen-config`
3
- # on 2017-12-21 10:52:38 +0100 using RuboCop version 0.52 .0.
3
+ # on 2019-07-03 09:07:58 +0200 using RuboCop version 0.72 .0.
4
4
# The point is for the user to remove these configuration records
5
5
# one by one as the offenses are removed from the code base.
6
6
# Note that changes in the inspected code, or installation of new
@@ -13,26 +13,27 @@ Lint/DuplicateMethods:
13
13
14
14
# Offense count: 7
15
15
Metrics/AbcSize :
16
- Max : 70
16
+ Max : 67
17
17
18
18
# Offense count: 11
19
19
# Configuration parameters: CountComments, ExcludedMethods.
20
+ # ExcludedMethods: refine
20
21
Metrics/BlockLength :
21
- Max : 79
22
+ Max : 109
22
23
23
24
# Offense count: 5
24
25
# Configuration parameters: CountComments.
25
26
Metrics/ClassLength :
26
- Max : 187
27
+ Max : 189
27
28
28
29
# Offense count: 2
29
30
Metrics/CyclomaticComplexity :
30
31
Max : 12
31
32
32
33
# Offense count: 10
33
- # Configuration parameters: CountComments.
34
+ # Configuration parameters: CountComments, ExcludedMethods .
34
35
Metrics/MethodLength :
35
- Max : 49
36
+ Max : 47
36
37
37
38
# Offense count: 2
38
39
Metrics/PerceivedComplexity :
@@ -51,11 +52,16 @@ Naming/FileName:
51
52
- ' lib/ruby-nessus.rb'
52
53
- ' lib/ruby-nessus/ruby-nessus.rb'
53
54
54
- # Offense count: 5
55
- Style/DateTime :
55
+ # Offense count: 13
56
+ # Configuration parameters: EnforcedStyleForLeadingUnderscores.
57
+ # SupportedStylesForLeadingUnderscores: disallowed, required, optional
58
+ Naming/MemoizedInstanceVariableName :
56
59
Exclude :
57
60
- ' lib/ruby-nessus/version1/host.rb'
58
61
- ' lib/ruby-nessus/version1/scan.rb'
62
+ - ' lib/ruby-nessus/version2/event.rb'
63
+ - ' lib/ruby-nessus/version2/host.rb'
64
+ - ' lib/ruby-nessus/version2/scan.rb'
59
65
60
66
# Offense count: 12
61
67
Style/Documentation :
@@ -75,11 +81,14 @@ Style/Documentation:
75
81
- ' lib/ruby-nessus/version2/port.rb'
76
82
- ' lib/ruby-nessus/version2/scan.rb'
77
83
78
- # Offense count: 14
79
- # Configuration parameters: .
80
- # SupportedStyles: annotated, template, unannotated
81
- Style/FormatStringToken :
82
- EnforcedStyle : unannotated
84
+ # Offense count: 3
85
+ # Configuration parameters: EnforcedStyle.
86
+ # SupportedStyles: left_coerce, right_coerce, single_coerce, fdiv
87
+ Style/FloatDivision :
88
+ Exclude :
89
+ - ' lib/ruby-nessus/version1/scan.rb'
90
+ - ' lib/ruby-nessus/version2/host.rb'
91
+ - ' lib/ruby-nessus/version2/scan.rb'
83
92
84
93
# Offense count: 10
85
94
# Configuration parameters: MinBodyLength.
@@ -92,7 +101,7 @@ Style/GuardClause:
92
101
93
102
# Offense count: 3
94
103
# Cop supports --auto-correct.
95
- # Configuration parameters: AutoCorrect, EnforcedStyle.
104
+ # Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods .
96
105
# SupportedStyles: predicate, comparison
97
106
Style/NumericPredicate :
98
107
Exclude :
@@ -101,24 +110,9 @@ Style/NumericPredicate:
101
110
- ' lib/ruby-nessus/version2/host.rb'
102
111
- ' lib/ruby-nessus/version2/scan.rb'
103
112
104
- # Offense count: 1
113
+ # Offense count: 83
105
114
# Cop supports --auto-correct.
106
- # Configuration parameters: EnforcedStyle, AllowInnerSlashes.
107
- # SupportedStyles: slashes, percent_r, mixed
108
- Style/RegexpLiteral :
109
- Exclude :
110
- - ' lib/ruby-nessus/version1/port.rb'
111
-
112
- # Offense count: 1
113
- # Cop supports --auto-correct.
114
- # Configuration parameters: EnforcedStyle.
115
- # SupportedStyles: implicit, explicit
116
- Style/RescueStandardError :
117
- Exclude :
118
- - ' lib/ruby-nessus/cli.rb'
119
-
120
- # Offense count: 75
121
- # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
115
+ # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
122
116
# URISchemes: http, https
123
117
Metrics/LineLength :
124
118
Max : 185
0 commit comments