diff options
author | Rémy Coutable <remy@rymai.me> | 2016-05-04 14:41:00 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-05-04 14:41:00 +0000 |
commit | 836eb04b1a4d9ce8a3c7e915299133611d8e21ae (patch) | |
tree | 4308fb2aeb766dc3dacb989f52ea64a0cabded14 | |
parent | 917c26ced7f4df99834e571ad5d1723d2afe8872 (diff) | |
parent | 267dd23311fe6ad6e9c9af15d683dc1a1bf608fe (diff) | |
download | gitlab-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.yml | 3 |
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?`. |