diff options
author | Robert Speicher <robert@gitlab.com> | 2016-05-30 17:56:15 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2016-05-30 17:56:15 +0000 |
commit | ea329376302bac3bd49244ad043fa8adeb1d002e (patch) | |
tree | c3cf2d95c548135076bcc87616b82f8f2fe095ac /.rubocop.yml | |
parent | 7a6d069f419d796acafe8caa203385f510ca94ca (diff) | |
parent | 86cf9dd2535adac3d739edbb845f7388e42f447d (diff) | |
download | gitlab-ce-ea329376302bac3bd49244ad043fa8adeb1d002e.tar.gz |
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.yml | 2 |
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: |