-
-
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
Flag to ignore AllCops/Exclude inheritance #4328
Comments
I have an implementation for this. I will send a PR as soon as I finish the PR checklist. |
nelsonjr
pushed a commit
to nelsonjr/rubocop
that referenced
this issue
Jun 19, 2017
…Cops/Exclude inheritance. It prevent Rubocop from excluding files listed in parent folders. This is useful to run cops on folders that are normally excluded from larger tree structures.
nelsonjr
pushed a commit
to nelsonjr/rubocop
that referenced
this issue
Oct 2, 2017
…Cops/Exclude inheritance. It prevent Rubocop from excluding files listed in parent folders. This is useful to run cops on folders that are normally excluded from larger tree structures.
jonas054
added a commit
that referenced
this issue
Oct 2, 2017
[Fix #4328] Add `--ignore-parent-exclusion` flag to ignore AllCops/Ex…
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be helpful to let Rubocop have a flag that allows AllCops/Exclude inheritance to be turned off.
Something like
``rubocop --ignore-parent-exclusion```
If you have folder tree like this:
It can be necessary to want to run Rubocop inside of root and ignore the submodule because they're separate projects. At the same time, you may want to run Rubocop inside of the submodule and not have to worry about the Rubocop.yml rules from the root folder.
The text was updated successfully, but these errors were encountered: