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
Config update
[puppet-modules/puppetlabs-apt.git]
/
.rubocop.yml
diff --git
a/.rubocop.yml
b/.rubocop.yml
index 8dcd675f4b00157b477b82388fa607bd9bc67685..31e8248ff813e956702d5c67844aeb0e2affc917 100644
(file)
--- a/
.rubocop.yml
+++ b/
.rubocop.yml
@@
-4,7
+4,7
@@
require:
- rubocop-rspec
AllCops:
DisplayCopNames: true
- rubocop-rspec
AllCops:
DisplayCopNames: true
- TargetRubyVersion: '2.
4
'
+ TargetRubyVersion: '2.
5
'
Include:
- "**/*.rb"
Exclude:
Include:
- "**/*.rb"
Exclude:
@@
-29,6
+29,9
@@
RSpec/BeforeAfterAll:
RSpec/HookArgument:
Description: Prefer explicit :each argument, matching existing module's style
EnforcedStyle: each
RSpec/HookArgument:
Description: Prefer explicit :each argument, matching existing module's style
EnforcedStyle: each
+RSpec/DescribeSymbol:
+ Exclude:
+ - spec/unit/facter/**/*.rb
Style/BlockDelimiters:
Description: Prefer braces for chaining. Mostly an aesthetical choice. Better to
be consistent then.
Style/BlockDelimiters:
Description: Prefer braces for chaining. Mostly an aesthetical choice. Better to
be consistent then.
@@
-404,6
+407,8
@@
Style/ExponentialNotation:
Enabled: false
Style/FloatDivision:
Enabled: false
Enabled: false
Style/FloatDivision:
Enabled: false
+Style/FrozenStringLiteralComment:
+ Enabled: false
Style/GlobalStdStream:
Enabled: false
Style/HashAsLastArrayItem:
Style/GlobalStdStream:
Enabled: false
Style/HashAsLastArrayItem: