summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Shea <connor.james.shea@gmail.com>2016-04-27 18:05:57 -0600
committerConnor Shea <connor.james.shea@gmail.com>2016-04-27 18:05:57 -0600
commit267dd23311fe6ad6e9c9af15d683dc1a1bf608fe (patch)
treea359f379e7742dcb9d7a57945c9013bebd983051
parenta792427eed95570da22844a06a09227730443189 (diff)
downloadgitlab-ce-267dd23311fe6ad6e9c9af15d683dc1a1bf608fe.tar.gz
Enable LstripRstrip cop
This requires no code changes since it doesn't actually change anything in the codebase, just preventative.
-rw-r--r--.rubocop.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 83ed6c38678..9f179efa3ce 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -953,10 +953,9 @@ Performance/DoubleStartEndWith:
Performance/EndWith:
Enabled: false
-# TODO: Enable LstripRstrip Cop.
# Use `strip` instead of `lstrip.rstrip`.
Performance/LstripRstrip:
- Enabled: false
+ Enabled: true
# TODO: Enable RangeInclude Cop.
# Use `Range#cover?` instead of `Range#include?`.