1
1
# This configuration was generated by
2
2
# `rubocop --auto-gen-config`
3
- # on 2023-04-03 10:54:30 UTC using RuboCop version 1.48.1.
3
+ # on 2023-04-04 08:44:46 UTC using RuboCop version 1.48.1.
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
7
7
# versions of RuboCop, may require this file to be generated again.
8
8
9
+ # Offense count: 1
10
+ # This cop supports safe autocorrection (--autocorrect).
11
+ # Configuration parameters: Severity, Include.
12
+ # Include: **/*.gemspec
13
+ Gemspec/RequireMFA :
14
+ Exclude :
15
+ - ' puppet-lint.gemspec'
16
+
9
17
# Offense count: 4
10
18
# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches.
11
19
Lint/DuplicateBranch :
@@ -35,9 +43,7 @@ Metrics/AbcSize:
35
43
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
36
44
# AllowedMethods: refine
37
45
Metrics/BlockLength :
38
- Max : 105
39
- Exclude :
40
- - ' lib/puppet-lint/plugins/check_whitespace/arrow_alignment.rb'
46
+ Max : 104
41
47
42
48
# Offense count: 2
43
49
# Configuration parameters: CountBlocks.
@@ -47,22 +53,22 @@ Metrics/BlockNesting:
47
53
# Offense count: 7
48
54
# Configuration parameters: CountComments, CountAsOne.
49
55
Metrics/ClassLength :
50
- Max : 393
56
+ Max : 387
51
57
52
58
# Offense count: 33
53
59
# Configuration parameters: AllowedMethods, AllowedPatterns.
54
60
Metrics/CyclomaticComplexity :
55
61
Max : 33
56
62
57
- # Offense count: 81
63
+ # Offense count: 80
58
64
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
59
65
Metrics/MethodLength :
60
66
Max : 108
61
67
62
68
# Offense count: 26
63
69
# Configuration parameters: AllowedMethods, AllowedPatterns.
64
70
Metrics/PerceivedComplexity :
65
- Max : 32
71
+ Max : 31
66
72
67
73
# Offense count: 182
68
74
# Configuration parameters: ForbiddenDelimiters.
@@ -86,7 +92,7 @@ Performance/CollectionLiteralInLoop:
86
92
- ' lib/puppet-lint/plugins/check_resources/ensure_first_param.rb'
87
93
- ' lib/puppet-lint/plugins/check_whitespace/trailing_whitespace.rb'
88
94
89
- # Offense count: 408
95
+ # Offense count: 406
90
96
# Configuration parameters: Prefixes, AllowedPatterns.
91
97
# Prefixes: when, with, without
92
98
RSpec/ContextWording :
@@ -137,15 +143,6 @@ RSpec/RepeatedExampleGroupDescription:
137
143
- ' spec/unit/puppet-lint/plugins/check_resources/unquoted_file_mode_spec.rb'
138
144
- ' spec/unit/puppet-lint/plugins/legacy_facts/legacy_facts_spec.rb'
139
145
140
- # Offense count: 16
141
- # This cop supports safe autocorrection (--autocorrect).
142
- # Configuration parameters: EnforcedStyle.
143
- # SupportedStyles: separated, grouped
144
- Style/AccessorGrouping :
145
- Exclude :
146
- - ' lib/puppet-lint/lexer/string_slurper.rb'
147
- - ' lib/puppet-lint/tasks/puppet-lint.rb'
148
-
149
146
# Offense count: 106
150
147
# This cop supports unsafe autocorrection (--autocorrect-all).
151
148
# Configuration parameters: EnforcedStyle.
0 commit comments