aboutsummaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorJosh Cooper <josh@puppet.com>2019-10-24 09:25:30 -0700
committerGitHub <noreply@github.com>2019-10-24 09:25:30 -0700
commitd8a221103a87fc3066e56f390d16c56ddf25e44d (patch)
treec54ac020dd8712d8a2235385ccd5da1e94b14b3c /.rubocop.yml
parent0e6e663b82b12d0d5ce4f2fe0c41e6289c88efae (diff)
parentcb746fccd6afce502072dccd8aa57e2f645d9d45 (diff)
downloadpuppet-cron_core-d8a221103a87fc3066e56f390d16c56ddf25e44d.tar.gz
puppet-cron_core-d8a221103a87fc3066e56f390d16c56ddf25e44d.tar.bz2
Merge pull request #27 from puppetlabs/pdksync_update-pdk
pdksync - (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 c3ab58e..3500164 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'
@@ -19,10 +21,13 @@ AllCops:
Metrics/LineLength:
Description: People have wide screens, use them.
Max: 260
+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.
@@ -86,6 +91,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
Layout/IndentHeredoc: