aboutsummaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authormihaibuzgau <mihai.buzgau@puppet.com>2019-10-24 13:58:09 +0300
committermihaibuzgau <mihai.buzgau@puppet.com>2019-10-24 13:58:09 +0300
commit283a3f517b183372a61b5eb09ce083f893575eab (patch)
treed7b6ad71e9eec66f6340082a8a31bbcf82e3378c /.rubocop.yml
parent420f52bc6dbd507e4d0e62a249c82403cb7152fc (diff)
downloadpuppet-hosts_core-283a3f517b183372a61b5eb09ce083f893575eab.tar.gz
puppet-hosts_core-283a3f517b183372a61b5eb09ce083f893575eab.tar.bz2
(maint) Update module using PDK 1.14.0
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml15
1 files changed, 13 insertions, 2 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 472b609..45f4463 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -1,5 +1,7 @@
---
-require: rubocop-rspec
+require:
+- rubocop-rspec
+- rubocop-i18n
AllCops:
DisplayCopNames: true
TargetRubyVersion: '2.1'
@@ -20,10 +22,13 @@ Metrics/LineLength:
Description: People have wide screens, use them.
Max: 200
Enabled: false
+GetText:
+ Enabled: false
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.
@@ -87,6 +92,12 @@ Style/MethodCalledOnDoEndBlock:
Enabled: true
Style/StringMethods:
Enabled: true
+GetText/DecorateFunctionMessage:
+ Enabled: false
+GetText/DecorateStringFormattingUsingInterpolation:
+ Enabled: false
+GetText/DecorateStringFormattingUsingPercent:
+ Enabled: false
Layout/EndOfLine:
Enabled: false
Metrics/AbcSize: