Integrated Rubocop warns of 'unknown cop' for Rspec, but the cop seems correct to me. Follow
Rubocop shows this warning:
But this cop is defined in rubocop-rspec:
Which is mentioned at the top of .rubocop.yml:
# head .rubocop.yml
And the gem is available to the project SDK:
So why doesn't RubyMine know about?
Please sign in to leave a comment.
just to be sure, how does it go if you run RuboCop manually in the terminal?
Hi Olga, here is the output of running rubocop from the terminal with and without 'bundle':
sorry for not getting back to you sooner. It'd be interesting to take a look at your idea.log (Help - Show log in), lines where RuboCop is called.
Could you please add the following lines to Help | Diagnostic Tools | Debug Log Settings, then restart RubyMine, reproduce the problem (call RuboCop from the IDE) and attach idea.log (Help | Show log in):
If you want, you can send it to email@example.com