-
Notifications
You must be signed in to change notification settings - Fork 13
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
Run standardrb on a subdirectory #21
Comments
How does RuboCop handle it? I think the right answer is probably to mirror them |
Rubocop takes a list of files:
It seems that Rubocop will take a directory too and run on all files contained within it and it's subdirectories:
However, it seems I've got Rubocop in my $PATH as it's not possible to bundle exec (the Gemfile is in
The alternative would be to do something like reviewdog/action-rubocop and to allow specifying a |
Yeah, I'd shop around to look at a few other linter actions on github and see if there's a consensus name for this, but it sounds like a working directory config option is the best bet |
It looks like somehow the release has regressed to v1 when it should probably be v1.4 : https://github.com/standardrb/standard-ruby-action/tags |
@wjessop my bad, that's what I get for forgetting to update the CHANGELOG. Thought we were on 1.3 (It's almost like the versioning system for github actions of constantly moving tags around isn't ideal) |
A client has their Rails app contained in a subdirectory of a monorepo and not the root:
would an option to run standardrb in a subdirectory be possible?
The text was updated successfully, but these errors were encountered: