From 176c54fcaefb6ef9b40d7cc3d7d2bd204306eb27 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Tue, 1 Aug 2017 14:44:22 -0500 Subject: [PATCH] disable a couple of unwise rubocop warnings --- .rubocop.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 7d13349d1a..7f4ed8e11d 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -36,6 +36,14 @@ Style/Documentation: Exclude: - 'modules/**/*' +Style/IndentHeredoc: + Enabled: false + Description: 'We need to leave this disabled for Ruby 2.2 compat, remove in 2018' + +Style/GuardClause: + Enabled: false + Description: 'This often introduces bugs in tested code' + Style/Encoding: Enabled: true Description: 'We prefer binary to UTF-8.'