summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-05-30 12:34:25 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-05-30 12:34:25 +0200
commit86cf9dd2535adac3d739edbb845f7388e42f447d (patch)
tree4bb229abae9593b98d5020d08ace129678c3534d /.rubocop.yml
parent43c35b0f20fb3bb67ea2b96bf8f806c7e95b6aec (diff)
downloadgitlab-ce-86cf9dd2535adac3d739edbb845f7388e42f447d.tar.gz
Enable Lint/LiteralInCondition rubocop coprubocop/enable-literal-in-condition-cop
Checks of literals used in conditions. See #17478
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml2
1 files changed, 1 insertions, 1 deletions
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: