skryukov/rubocop-gradual

Unable to lint a single file?

pboling opened this issue · 0 comments

I'm using the shim, so rubocop_gradual runs instead of rubocop normally.

When I run:

bundle exec rubocop -a Gemfile

the entire project is scanned as if I had not specified a file.

When I run:

NO_GRADUAL=1 bundle exec rubocop -a Gemfile

It lints the Gemfile only.

Is this a known limitation of rubocop-gradual?

Is it intentional?