An extension of RuboCop focused on code performance checks.
Performance/RedundantStringChars
when using str.chars.last
without argument. (@koic)Performance/Sum
when using TargetRubyVersion
is 2.3 or lower. (@koic)Performance/RegexpMatch
to handle ::Regexp
. (@fatkodima)Performance/StringInclude
to handle !~
. (@fatkodima)