summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-05-23 13:10:42 -0400
committerRobert Speicher <rspeicher@gmail.com>2016-05-23 13:10:42 -0400
commit51c167eeb75f429098b7128f9d9f33a6eec4145f (patch)
tree87566fa8d3193d0c709c788ab74de9ce15100b75 /.rubocop.yml
parentbc806831e818b6e1ec2d1ae81221126f03c01f11 (diff)
downloadgitlab-ce-51c167eeb75f429098b7128f9d9f33a6eec4145f.tar.gz
Enable Performance/RangeInclude cop and fix single offensers-range-include
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 0946ef5d848..26929e03456 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -957,10 +957,9 @@ Performance/EndWith:
Performance/LstripRstrip:
Enabled: true
-# TODO: Enable RangeInclude Cop.
# Use `Range#cover?` instead of `Range#include?`.
Performance/RangeInclude:
- Enabled: false
+ Enabled: true
# TODO: Enable RedundantBlockCall Cop.
# Use `yield` instead of `block.call`.