-
-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Performance Count Cop does not work #69
Comments
Please set Performance/Count:
SafeMode: false It is not working because Related resources |
I came across this in the last day or two as well. Looking into it, I think the |
Thanks for the hint and reply! |
#72 has been released. |
Expected behavior
I am expecting offenses for
as seen in
https://github.com/rubocop-hq/rubocop-performance/blob/master/lib/rubocop/cop/performance/count.rb
Actual behavior
I don't receive offenses
Steps to reproduce the problem
file foobar.rb with
executing rubocop performance via
rubocop --require rubocop-performance foobar.rb
RuboCop version
Include the output of
rubocop -V
orbundle exec rubocop -V
if using Bundler. Here's an example:The text was updated successfully, but these errors were encountered: