diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-05-30 13:34:25 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-05-30 13:34:25 +0300 |
commit | 86cf9dd2535adac3d739edbb845f7388e42f447d (patch) | |
tree | 4bb229abae9593b98d5020d08ace129678c3534d /.rubocop.yml | |
parent | 43c35b0f20fb3bb67ea2b96bf8f806c7e95b6aec (diff) |
Enable Lint/LiteralInCondition rubocop cop
Checks of literals used in conditions.
See #17478
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 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: |