summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-05-04 14:41:00 +0000
committerRémy Coutable <remy@rymai.me>2016-05-04 14:41:00 +0000
commit836eb04b1a4d9ce8a3c7e915299133611d8e21ae (patch)
tree4308fb2aeb766dc3dacb989f52ea64a0cabded14
parent917c26ced7f4df99834e571ad5d1723d2afe8872 (diff)
parent267dd23311fe6ad6e9c9af15d683dc1a1bf608fe (diff)
downloadgitlab-ce-836eb04b1a4d9ce8a3c7e915299133611d8e21ae.tar.gz
Merge branch 'lstrip-cop' into 'master'
Enable LstripRstrip cop This requires no code changes since it doesn't actually change anything in the codebase, just preventative. See merge request !3959
-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?`.