From e11b9ddccd6adaf25a1dbcb380105f02b72479f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Tue, 18 Dec 2018 20:38:36 +0100 Subject: [PATCH] Enable literal as condition rule in rubocop This way deverlopers who don't run the ruby syntax check locally with warnings enabled will be informed by HoundCI. --- .rubocop_basic.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.rubocop_basic.yml b/.rubocop_basic.yml index 522fec828..97a02fd21 100644 --- a/.rubocop_basic.yml +++ b/.rubocop_basic.yml @@ -30,6 +30,9 @@ Layout/TrailingBlankLines: Layout/TrailingWhitespace: Enabled: true +Lint/LiteralAsCondition: + Enabled: true + Lint/UselessAssignment: Enabled: true