File tree Expand file tree Collapse file tree 2 files changed +6
-12
lines changed Expand file tree Collapse file tree 2 files changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,12 @@ Layout/ArgumentAlignment:
22
22
Exclude :
23
23
- ' lib/puppet/defaults.rb'
24
24
25
+ # The confine statements in package providers unexpectedly affect this cop.
26
+ Layout/BeginEndAlignment :
27
+ Enabled : true
28
+ Exclude :
29
+ - ' lib/puppet/provider/package/*.rb'
30
+
25
31
# puppet uses symbol booleans in types and providers to work around long standing
26
32
# bugs when trying to manage falsey pararameters and properties
27
33
Lint/BooleanSymbol :
Original file line number Diff line number Diff line change @@ -69,18 +69,6 @@ Layout/AssignmentIndentation:
69
69
- ' lib/puppet/util.rb'
70
70
- ' lib/puppet/util/windows/daemon.rb'
71
71
72
- # This cop supports safe auto-correction (--auto-correct).
73
- # Configuration parameters: EnforcedStyleAlignWith, Severity.
74
- # SupportedStylesAlignWith: start_of_line, begin
75
- Layout/BeginEndAlignment :
76
- Exclude :
77
- - ' lib/puppet/provider/package/apt.rb'
78
- - ' lib/puppet/provider/package/aptrpm.rb'
79
- - ' lib/puppet/provider/package/dnf.rb'
80
- - ' lib/puppet/provider/package/rpm.rb'
81
- - ' lib/puppet/provider/package/tdnf.rb'
82
- - ' lib/puppet/provider/package/yum.rb'
83
-
84
72
# This cop supports safe auto-correction (--auto-correct).
85
73
# Configuration parameters: EnforcedStyleAlignWith.
86
74
# SupportedStylesAlignWith: either, start_of_block, start_of_line
You can’t perform that action at this time.
0 commit comments