From 86cf9dd2535adac3d739edbb845f7388e42f447d Mon Sep 17 00:00:00 2001 From: Grzegorz Bizon Date: Mon, 30 May 2016 12:34:25 +0200 Subject: Enable Lint/LiteralInCondition rubocop cop Checks of literals used in conditions. See #17478 --- .rubocop.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.rubocop.yml') diff --git a/.rubocop.yml b/.rubocop.yml index 2d8eb4077f3..6391b8336aa 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -878,7 +878,7 @@ Lint/InvalidCharacterLiteral: # Checks of literals used in conditions. Lint/LiteralInCondition: - Enabled: false + Enabled: true # Checks for literals used in interpolation. Lint/LiteralInInterpolation: -- cgit v1.2.3