Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
(IAC-1143) Adding temporary workaround for facter failures.
[puppet-modules/puppetlabs-apt.git]
/
.rubocop.yml
diff --git
a/.rubocop.yml
b/.rubocop.yml
index 413a6442f5cc2420825a2da8db39063f024a0a52..200675437fbaa0152047d3ac1ef079b7beb5f254 100644
(file)
--- a/
.rubocop.yml
+++ b/
.rubocop.yml
@@
-26,7
+26,8
@@
GetText:
GetText/DecorateString:
Description: We don't want to decorate test output.
Exclude:
GetText/DecorateString:
Description: We don't want to decorate test output.
Exclude:
- - spec/*
+ - spec/**/*
+ Enabled: false
RSpec/BeforeAfterAll:
Description: Beware of using after(:all) as it may cause state to leak between tests.
A necessary evil in acceptance testing.
RSpec/BeforeAfterAll:
Description: Beware of using after(:all) as it may cause state to leak between tests.
A necessary evil in acceptance testing.
@@
-39,6
+40,10
@@
Style/BlockDelimiters:
Description: Prefer braces for chaining. Mostly an aesthetical choice. Better to
be consistent then.
EnforcedStyle: braces_for_chaining
Description: Prefer braces for chaining. Mostly an aesthetical choice. Better to
be consistent then.
EnforcedStyle: braces_for_chaining
+Style/BracesAroundHashParameters:
+ Description: Braces are required by Ruby 2.7. Cop removed from RuboCop v0.80.0.
+ See https://github.com/rubocop-hq/rubocop/pull/7643
+ Enabled: true
Style/ClassAndModuleChildren:
Description: Compact style reduces the required amount of indentation.
EnforcedStyle: compact
Style/ClassAndModuleChildren:
Description: Compact style reduces the required amount of indentation.
EnforcedStyle: compact
@@
-89,6
+94,12
@@
Style/MethodCalledOnDoEndBlock:
Enabled: true
Style/StringMethods:
Enabled: true
Enabled: true
Style/StringMethods:
Enabled: true
+GetText/DecorateFunctionMessage:
+ Enabled: false
+GetText/DecorateStringFormattingUsingInterpolation:
+ Enabled: false
+GetText/DecorateStringFormattingUsingPercent:
+ Enabled: false
Layout/EndOfLine:
Enabled: false
Layout/IndentHeredoc:
Layout/EndOfLine:
Enabled: false
Layout/IndentHeredoc: