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
not including parent level dir #990
Comments
@jonas054 This is isn't supposed to work, right? Referring a folder outside of the project seems pretty odd to me. Maybe we should issue a warning or something. |
@ff-apujari I can see why you would expect this to work, but as @bbatsov says this is not how RuboCop searches the directories given to it on the command line (or the current directory by default) for all files. Then it selects what it considers to be ruby files for inspection. The A redesign to support the behavior you wanted seems like a lot of work, and for little gain. There are other ways to inspect multiple projects. |
@jonas054 Should we issue a warning for such |
Keep it open. I'll try to implement something. |
On second thought, I'll close the issue without action. I think it's too difficult to determine which @ff-apujari The proper way to inspect the other project together with the current one is to run
Note, however, that there should be a |
seems it is not including a dir above even when specified. ../other_rails_engine is a rails app in gem form that we are using commonly across several apps
If I comment this line or not, the count of offenses coming same, nor do I find a file listed in the offenses belonging to the other_rails_engine
The text was updated successfully, but these errors were encountered: