1+ # This configuration was generated by
2+ # `rubocop --auto-gen-config`
3+ # on 2023-04-21 14:47:05 UTC using RuboCop version 1.48.1.
4+ # The point is for the user to remove these configuration records
5+ # one by one as the offenses are removed from the code base.
6+ # Note that changes in the inspected code, or installation of new
7+ # versions of RuboCop, may require this file to be generated again.
8+
19# Offense count: 1
210# This cop supports unsafe autocorrection (--autocorrect-all).
311Lint/OrAssignmentToConstant :
@@ -13,17 +21,17 @@ Metrics/AbcSize:
1321# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
1422# AllowedMethods: refine
1523Metrics/BlockLength :
16- Max : 90
24+ Max : 83
1725
1826# Offense count: 2
1927# Configuration parameters: AllowedMethods, AllowedPatterns.
2028Metrics/CyclomaticComplexity :
2129 Max : 9
2230
23- # Offense count: 5
31+ # Offense count: 4
2432# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
2533Metrics/MethodLength :
26- Max : 17
34+ Max : 14
2735
2836# Offense count: 2
2937# Configuration parameters: AllowedMethods, AllowedPatterns.
@@ -62,7 +70,7 @@ RSpec/DescribeClass:
6270# Offense count: 6
6371# Configuration parameters: CountAsOne.
6472RSpec/ExampleLength :
65- Max : 25
73+ Max : 26
6674
6775# Offense count: 15
6876# Configuration parameters: .
@@ -106,8 +114,26 @@ RSpec/SubjectStub:
106114 - ' spec/unit/provider/exec/powershell_spec.rb'
107115 - ' spec/unit/provider/exec/pwsh_spec.rb'
108116
117+ # Offense count: 2
118+ # This cop supports safe autocorrection (--autocorrect).
119+ # Configuration parameters: EnforcedStyle.
120+ # SupportedStyles: prefer_alias, prefer_alias_method
109121Style/Alias :
110- Enabled : false
122+ Exclude :
123+ - ' spec/unit/provider/exec/powershell_spec.rb'
124+ - ' spec/unit/provider/exec/pwsh_spec.rb'
111125
126+ # Offense count: 2
127+ # Configuration parameters: AllowedMethods.
128+ # AllowedMethods: respond_to_missing?
112129Style/OptionalBooleanParameter :
113- Enabled : false
130+ Exclude :
131+ - ' lib/puppet/provider/exec/powershell.rb'
132+ - ' lib/puppet/provider/exec/pwsh.rb'
133+
134+ # Offense count: 9
135+ # This cop supports safe autocorrection (--autocorrect).
136+ # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
137+ # URISchemes: http, https
138+ Layout/LineLength :
139+ Max : 203
0 commit comments