aboutsummaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorJosh Cooper <josh@puppet.com>2019-10-23 13:26:48 -0700
committerJosh Cooper <josh@puppet.com>2019-10-23 13:52:32 -0700
commita030a6f0056311bb7ccecc09fdb35e775997308d (patch)
treee70e7e35e879e4ffef8fa15ea3d1ef9633ef4509 /.rubocop.yml
parent27bc5228df89cb7a3c7d3b45324ddb38c8e12063 (diff)
downloadpuppet-augeas_core-a030a6f0056311bb7ccecc09fdb35e775997308d.tar.gz
puppet-augeas_core-a030a6f0056311bb7ccecc09fdb35e775997308d.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 1dcf48d..ef46b51 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.
@@ -103,6 +108,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: