misogi / vscode-ruby-rubocop

Rubocop extension for Visual Studio Code
https://marketplace.visualstudio.com/items/misogi.ruby-rubocop
MIT License
137 stars 68 forks source link

-s/--stdin requires exactly one path, relative to the root of the project. #149

Open ssoulless opened 3 years ago

ssoulless commented 3 years ago

Im using VScode with Rubocop version 1.13

for some reason I started to get this warning: -s/--stdin requires exactly one path, relative to the root of the project. RuboCop will use this path to determine which cops are enabled (via eg. Include/Exclude), and so that certain cops like Naming/FileName can be checked.

along with this one: command bundle exec rubocop returns empty output! please check configuration.

This is happening only on a specific project Im working. I tried to remove the contents of .rubocop.yml file from the project but still get the warnings. Any idea?

karansapolia commented 3 years ago

I am getting a similar error whenever I'm trying to format Rails files on save. Rubocop version: 1.18.4, Rubocop rails version: 2.11.3 Screen Shot 2021-08-31 at 17 30 08

quaos commented 2 years ago

I am getting a similar error whenever I'm trying to format Rails files on save. Rubocop version: 1.18.4, Rubocop rails version: 2.11.3 Screen Shot 2021-08-31 at 17 30 08

I also get these errors!

(bundled) rubocop v1.16.1 (bundled) rubocop-rails v2.9.1

danielgomezrico commented 2 years ago

Me too: