Skip to content

Commit f83f3fe

Browse files
committed
Add Style/AccessModifierDeclarations exclusions
Rubocop recently started flagging several files for violations of the Style/AccessModifierDeclarations cop. This only occurs in 7.x as many Rubocop fixes have landed in main/8.x. Because 7.x is so close to its end-of-life, these violations aren't really worth fixing and this commit excludes them from the cop.
1 parent 562af0f commit f83f3fe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.rubocop_todo.yml

+3
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,10 @@ Naming/VariableNumber:
920920
# SupportedStyles: inline, group
921921
Style/AccessModifierDeclarations:
922922
Exclude:
923+
- 'lib/puppet/util/command_line/trollop.rb'
923924
- 'lib/puppet/util/suidmanager.rb'
925+
- 'lib/puppet/util/windows/com.rb'
926+
- 'lib/puppet/util/windows/monkey_patches/process.rb'
924927

925928
# This cop supports safe auto-correction (--auto-correct).
926929
# Configuration parameters: EnforcedStyle.

0 commit comments

Comments
 (0)