-
Notifications
You must be signed in to change notification settings - Fork 68
Warn .rubocop.yml file does not exist. Ignoring... #62
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
Comments
Update: Setting the full path now works, but the relative path |
Can confirm that it as well does not work with vscode variable is set up: |
Same problem! |
Same problem.. |
Same problem |
Same problem, but on Windows 10 |
Same problem.
Variables are not supported in Settings Files. |
Adding "Same problem" does not help solving the issue. Please consider using reactions instead. |
Is this issue being looked at? |
Can we confirm that this has not been resolved? |
Added a fix, waiting for acceptance - #100 If you can't wait, here's the patch just apply it to the rubocop extension (e.g. ~/.vscode/extensions/misogi.ruby-rubocop-0.8.0/out/src/rubocop.js) If the file was there you could do something like: |
@estani this fix now shows me a warning, that the rubcoop.yml from the relative path to my project is not found, and VSCode will use
-> I am currently working on project When running {
"ruby.rubocop.executePath": "~/.rbenv/shims/",
"ruby.rubocop.useBundler": true,
} local rubocop config: # .rubocop.yml
inherit_gem:
rubocop-rails_config:
- config/rails.yml -> using this gem: https://github.com/toshimaru/rubocop-rails_config/#usage update:
which I also don't want to set globally, not every project is using this. From this, I believe this VSCode extension cannot handle the |
The It's literally talking about the same file. Just one is relative and not expanded for some reason: Couldn't this be solved by expanding the relative path to an absolute path, and dedupe before comparing and deciding if "Found multiple files"? |
Just upgraded to VS Code 1.19.1 today and the .rubocop.yml can't be found. It's in my project root. I'm on macOS 10.12.6.
This warning appears on every file load:
.rubocop.yml file does not exist. Ignoring...
My path setting is:
"ruby.rubocop.configFilePath": ".rubocop.yml",
I've also tried the full local path, no luck:
"ruby.rubocop.configFilePath": "/Users/micliz/code/ravn/clients/beynd/beynd-api/.rubocop.yml"
The text was updated successfully, but these errors were encountered: