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:
authorRobert Speicher <robert@gitlab.com>2016-05-30 20:56:15 +0300
committerRobert Speicher <robert@gitlab.com>2016-05-30 20:56:15 +0300
commitea329376302bac3bd49244ad043fa8adeb1d002e (patch)
treec3cf2d95c548135076bcc87616b82f8f2fe095ac /.rubocop.yml
parent7a6d069f419d796acafe8caa203385f510ca94ca (diff)
parent86cf9dd2535adac3d739edbb845f7388e42f447d (diff)
Merge branch 'rubocop/enable-literal-in-condition-cop' into 'master'
Enable Lint/LiteralInCondition rubocop cop Detects literals used in conditions. See #17478 See merge request !4354
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 79f32eedee6..877f0c2d45a 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -877,7 +877,7 @@ Lint/InvalidCharacterLiteral:
# Checks of literals used in conditions.
Lint/LiteralInCondition:
- Enabled: false
+ Enabled: true
# Checks for literals used in interpolation.
Lint/LiteralInInterpolation: