Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-05-30 13:34:25 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-05-30 13:34:25 +0300
commit86cf9dd2535adac3d739edbb845f7388e42f447d (patch)
tree4bb229abae9593b98d5020d08ace129678c3534d /.rubocop.yml
parent43c35b0f20fb3bb67ea2b96bf8f806c7e95b6aec (diff)
Enable Lint/LiteralInCondition rubocop 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: