-
Notifications
You must be signed in to change notification settings - Fork 38
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
.rubocop.yml is not honored when mark_issues_in_view is set to true #25
Comments
Sorry, I am not able to reproduce that. Which version of ST are you using? Do you use rvm, rbenv or your own command? Just making sure it is just a typo in your title: The file is correctly named |
The title was only a typo. Sorry about that. I'm using my own command, simply pointing at the binary with an absolute path. I'm using chruby, sublime text 3 beta (build 3065) on OS X. The custom command was necessary because of OS X stupidity with paths. |
|
Update: I can confirm the problem now. The plugin calls rubocop with the current file to update the marks in the view. If rubocop is called with a single file, it ignores the .rubocop.yml. So this is a bug in the plugin 😞 I have some ideas how to fix that and make a decision soon. Until then I would suggest turning the marks on and off depending on the file you are currently viewing. You can do that with the menu command "RuboCop: Toggle auto check". |
I do experience the same issue with rbenv. |
What about using the |
Looks like |
This is especially annoying with generated files such as
schema.rb
over which I do not have any control.It would be really nice if the config file would be honored or I could toggle auto-check on a per-file basis.
Thanks.
The text was updated successfully, but these errors were encountered: