diff --git a/.rubocop.yml b/.rubocop.yml index 83ed6c3867825f1e8853335e396d0eeb17c5795e..9f179efa3ce0ba9a2f4a4ffa097e31f6ee34e737 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?`.