|
1 | 1 | # This configuration was generated by |
2 | 2 | # `rubocop --auto-gen-config` |
3 | | -# on 2024-06-07 10:17:46 UTC using RuboCop version 1.50.2. |
| 3 | +# on 2025-09-30 14:23:25 UTC using RuboCop version 1.73.2. |
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 | 9 | # Offense count: 2 |
10 | | -# Configuration parameters: AllowedMethods. |
11 | | -# AllowedMethods: enums |
12 | | -Lint/ConstantDefinitionInBlock: |
| 10 | +# Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata. |
| 11 | +# Include: **/*_spec.rb |
| 12 | +RSpec/SpecFilePathFormat: |
13 | 13 | Exclude: |
14 | | - - 'lib/puppet/provider/base_dsc_lite/powershell.rb' |
15 | | - - 'spec/acceptance/unicode/puppet_apply_utf8_file_name_spec.rb' |
16 | | - |
17 | | -# Offense count: 2 |
18 | | -# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches. |
19 | | -Lint/DuplicateBranch: |
20 | | - Exclude: |
21 | | - - 'spec/spec_helper_acceptance_local.rb' |
22 | | - |
23 | | -# Offense count: 1 |
24 | | -# Configuration parameters: AllowComments. |
25 | | -Lint/EmptyFile: |
26 | | - Exclude: |
27 | | - - 'spec/spec_helper_local.rb' |
28 | | - |
29 | | -# Offense count: 4 |
30 | | -# Configuration parameters: MaximumRangeSize. |
31 | | -Lint/MissingCopEnableDirective: |
32 | | - Exclude: |
33 | | - - 'lib/puppet_x/puppetlabs/dsc_lite/dsc_type_helpers.rb' |
34 | | - - 'lib/puppet_x/puppetlabs/dsc_lite/powershell_hash_formatter.rb' |
| 14 | + - '**/spec/routing/**/*' |
35 | 15 | - 'spec/unit/puppet_x/dsc_lite/dsc_type_helpers_spec.rb' |
36 | 16 | - 'spec/unit/puppet_x/dsc_lite/powershell_hash_formatter_spec.rb' |
37 | 17 |
|
38 | | -# Offense count: 6 |
39 | | -# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes. |
40 | | -Metrics/AbcSize: |
41 | | - Max: 78 |
42 | | - |
43 | | -# Offense count: 2 |
44 | | -# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode. |
45 | | -# AllowedMethods: refine |
46 | | -Metrics/BlockLength: |
47 | | - Max: 134 |
48 | | - |
49 | | -# Offense count: 1 |
50 | | -# Configuration parameters: CountComments, CountAsOne. |
51 | | -Metrics/ClassLength: |
52 | | - Max: 111 |
53 | | - |
54 | | -# Offense count: 4 |
55 | | -# Configuration parameters: AllowedMethods, AllowedPatterns. |
56 | | -Metrics/CyclomaticComplexity: |
57 | | - Max: 31 |
58 | | - |
59 | | -# Offense count: 10 |
60 | | -# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. |
61 | | -Metrics/MethodLength: |
62 | | - Max: 40 |
63 | | - |
64 | | -# Offense count: 4 |
65 | | -# Configuration parameters: AllowedMethods, AllowedPatterns. |
66 | | -Metrics/PerceivedComplexity: |
67 | | - Max: 28 |
68 | | - |
69 | | -# Offense count: 1 |
70 | | -# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames. |
71 | | -# AllowedNames: as, at, by, cc, db, id, if, in, io, ip, of, on, os, pp, to |
72 | | -Naming/MethodParameterName: |
73 | | - Exclude: |
74 | | - - 'lib/puppet_x/puppetlabs/dsc_lite/dsc_type_helpers.rb' |
75 | | - |
76 | 18 | # Offense count: 1 |
77 | 19 | # This cop supports unsafe autocorrection (--autocorrect-all). |
78 | | -Performance/RedundantEqualityComparisonBlock: |
| 20 | +Style/BitwisePredicate: |
79 | 21 | Exclude: |
80 | | - - 'lib/puppet_x/puppetlabs/dsc_lite/dsc_type_helpers.rb' |
81 | | - |
82 | | -# Offense count: 12 |
83 | | -# Configuration parameters: Prefixes, AllowedPatterns. |
84 | | -# Prefixes: when, with, without |
85 | | -RSpec/ContextWording: |
86 | | - Exclude: |
87 | | - - 'spec/acceptance/basic_functionality/puppet_apply_dsc_manifest_spec.rb' |
88 | | - - 'spec/acceptance/dsc_type/custom_resource_from_system_psmodulepath_spec.rb' |
89 | | - - 'spec/acceptance/dsc_type/custom_resource_path_spec.rb' |
90 | | - - 'spec/acceptance/dsc_type/multiple_dsc_resources_in_psmodulepath_spec.rb' |
91 | | - - 'spec/acceptance/dsc_type/psdesiredstateconfiguration_spec.rb' |
92 | | - - 'spec/acceptance/reboot/negative/reboot_graph_cycle_spec.rb' |
93 | | - - 'spec/acceptance/reboot/reboot_no_invoke_warning_spec.rb' |
94 | | - - 'spec/acceptance/unicode/puppet_apply_utf8_file_name_spec.rb' |
95 | | - |
96 | | -# Offense count: 11 |
97 | | -# Configuration parameters: IgnoredMetadata. |
98 | | -RSpec/DescribeClass: |
99 | | - Exclude: |
100 | | - - '**/spec/features/**/*' |
101 | | - - '**/spec/requests/**/*' |
102 | | - - '**/spec/routing/**/*' |
103 | | - - '**/spec/system/**/*' |
104 | | - - '**/spec/views/**/*' |
105 | | - - 'spec/acceptance/basic_dsc_resources/failing_dsc_resources_spec.rb' |
106 | | - - 'spec/acceptance/basic_functionality/puppet_apply_dsc_manifest_spec.rb' |
107 | | - - 'spec/acceptance/dsc_type/custom_resource_from_system_psmodulepath_spec.rb' |
108 | | - - 'spec/acceptance/dsc_type/custom_resource_path_spec.rb' |
109 | | - - 'spec/acceptance/dsc_type/multiple_dsc_resources_in_psmodulepath_spec.rb' |
110 | | - - 'spec/acceptance/reboot/negative/reboot_graph_cycle_spec.rb' |
111 | | - - 'spec/acceptance/reboot/reboot_autonotify_explicit_spec.rb' |
112 | | - - 'spec/acceptance/reboot/reboot_no_invoke_warning_spec.rb' |
113 | | - - 'spec/acceptance/unicode/puppet_apply_utf8_file_name_spec.rb' |
114 | | - - 'spec/unit/puppet/type/base_dsc_spec.rb' |
115 | | - - 'spec/unit/puppet/type/dsc_spec.rb' |
116 | | - |
117 | | -# Offense count: 14 |
118 | | -# Configuration parameters: CountAsOne. |
119 | | -RSpec/ExampleLength: |
120 | | - Max: 73 |
121 | | - |
122 | | -# Offense count: 1 |
123 | | -RSpec/LeakyConstantDeclaration: |
124 | | - Exclude: |
125 | | - - 'spec/acceptance/unicode/puppet_apply_utf8_file_name_spec.rb' |
126 | | - |
127 | | -# Offense count: 17 |
128 | | -RSpec/MultipleExpectations: |
129 | | - Max: 5 |
130 | | - |
131 | | -# Offense count: 1 |
132 | | -# Configuration parameters: AllowedPatterns. |
133 | | -# AllowedPatterns: ^expect_, ^assert_ |
134 | | -RSpec/NoExpectationExample: |
135 | | - Exclude: |
136 | | - - 'spec/unit/puppet/type/base_dsc_spec.rb' |
137 | | - |
138 | | -# Offense count: 3 |
139 | | -RSpec/PendingWithoutReason: |
140 | | - Exclude: |
141 | | - - 'spec/acceptance/reboot/negative/reboot_graph_cycle_spec.rb' |
142 | | - - 'spec/acceptance/reboot/reboot_autonotify_explicit_spec.rb' |
143 | | - - 'spec/acceptance/reboot/reboot_no_invoke_warning_spec.rb' |
144 | | - |
145 | | -# Offense count: 1 |
146 | | -RSpec/SkipBlockInsideExample: |
147 | | - Exclude: |
148 | | - - 'spec/acceptance/reboot/reboot_no_invoke_warning_spec.rb' |
149 | | - |
150 | | -# Offense count: 1 |
151 | | -# This cop supports unsafe autocorrection (--autocorrect-all). |
152 | | -# Configuration parameters: MinBranchesCount. |
153 | | -Style/CaseLikeIf: |
154 | | - Exclude: |
155 | | - - 'spec/spec_helper_acceptance_local.rb' |
156 | | - |
157 | | -# Offense count: 2 |
158 | | -Style/MixinUsage: |
159 | | - Exclude: |
160 | | - - 'spec/spec_helper.rb' |
161 | | - - 'spec/spec_helper_acceptance.rb' |
162 | | - |
163 | | -# Offense count: 13 |
164 | | -# This cop supports unsafe autocorrection (--autocorrect-all). |
165 | | -# Configuration parameters: Mode. |
166 | | -Style/StringConcatenation: |
167 | | - Exclude: |
168 | | - - 'lib/puppet/provider/base_dsc_lite/powershell.rb' |
169 | 22 | - 'lib/puppet/type/dsc.rb' |
170 | | - - 'lib/puppet_x/puppetlabs/dsc_lite/dsc_type_helpers.rb' |
171 | | - - 'lib/puppet_x/puppetlabs/dsc_lite/powershell_hash_formatter.rb' |
172 | | - - 'spec/acceptance/basic_functionality/puppet_apply_dsc_manifest_spec.rb' |
173 | | - |
174 | | -# Offense count: 3 |
175 | | -# This cop supports unsafe autocorrection (--autocorrect-all). |
176 | | -# Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, AllowComments. |
177 | | -# AllowedMethods: define_method |
178 | | -Style/SymbolProc: |
179 | | - Exclude: |
180 | | - - 'lib/puppet_x/puppetlabs/dsc_lite/dsc_type_helpers.rb' |
0 commit comments