Enable LstripRstrip cop
This requires no code changes since it doesn't actually change anything in the codebase, just preventative.
This commit is contained in:
parent
a792427eed
commit
267dd23311
|
@ -953,10 +953,9 @@ Performance/DoubleStartEndWith:
|
||||||
Performance/EndWith:
|
Performance/EndWith:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
# TODO: Enable LstripRstrip Cop.
|
|
||||||
# Use `strip` instead of `lstrip.rstrip`.
|
# Use `strip` instead of `lstrip.rstrip`.
|
||||||
Performance/LstripRstrip:
|
Performance/LstripRstrip:
|
||||||
Enabled: false
|
Enabled: true
|
||||||
|
|
||||||
# TODO: Enable RangeInclude Cop.
|
# TODO: Enable RangeInclude Cop.
|
||||||
# Use `Range#cover?` instead of `Range#include?`.
|
# Use `Range#cover?` instead of `Range#include?`.
|
||||||
|
|
Loading…
Reference in New Issue