diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-10-03 16:09:57 +0200 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-10-03 16:09:57 +0200 |
commit | 4a191c83d1db31aac16241dbf99ac45088efb99a (patch) | |
tree | c5035e58f55263a2d59a8b5cb606326056a13a58 /.rubocop.yml | |
parent | dfb9cab828a11cf00522734d11c2472e8b540b5c (diff) | |
download | gitlab-ce-4a191c83d1db31aac16241dbf99ac45088efb99a.tar.gz |
Enable Lint/StringConversionInInterpolation cop and autocorrect offensesrs-string-conversion-in-interpolation
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 5bd31ccf329..c84755859cb 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -639,6 +639,10 @@ Lint/RescueException: Lint/ShadowedException: Enabled: false +# Checks for Object#to_s usage in string interpolation. +Lint/StringConversionInInterpolation: + Enabled: true + # Do not use prefix `_` for a variable that is used. Lint/UnderscorePrefixedVariableName: Enabled: true |