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
inherit_gem does not inherit AllCops #10175
Comments
Just a note that this issue was referenced in https://thoughtbot.com/blog/a-standard-way-to-lint-your-views |
I tried to reproduce with these files:
and ran:
So no offenses are found. DisabledByDefault seems to work as expected. When you get the problem, could it be that RuboCop loads another version of the config file from |
Thx for trying to reproduce! |
Expected behavior
should inherit
DisabledByDefault: true
from https://github.com/testdouble/standard/blob/main/config/base.yml#L7Actual behavior
It does not and rules that are not explicitly disabled are showing up
Steps to reproduce the problem
Use config as above with standard (1.3.0)
RuboCop version
The text was updated successfully, but these errors were encountered: