-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect number of inspected files #5822
Comments
I am experiencing the same. On |
See #4247 We made a breaking change that dealt with some nasty legacy - some file types were hardcoded in RuboCop and we wanted to make everything configurable. People who had modified the default Include/Exclude patterns are affected by this change. |
Awesome. That fixed my issue. |
I'm not sure why we added this in the first place. Looking at the Rubocop default setup these files have been included for over a year now. This custom include also breaks Rubocop 0.56.0 due to changes in how it handles the merging (it no longer merges include by default for the all cops setting). For more details see: - [Incorrect number of inspected files](rubocop/rubocop#5822) - [Ability to specify files/directories to look at and ignore everything else](rubocop/rubocop#4247)
Expected behavior
It should inspect all the passed files.
Actual behavior
It inspects only a part of the files.
Steps to reproduce the problem
Running:
bundle exec rubocop Gemfile fastlane/globals.rb Podfile fastlane/Deliverfile fastlane/Pluginfile fastlane/Gymfile fastlane/Fastfile fastlane/Appfile Brewfile
prints:
but it should inspect all the 9 files instead.
Running only
bundle exec rubocop
correctly inspects all the 9 files.RuboCop version
The text was updated successfully, but these errors were encountered: