Bozhidar Batsov
Bozhidar Batsov
Well, that's not quite true, as `-a` is still around, but it's just limitted to safe auto-corrections: ``` -a, --auto-correct Auto-correct offenses (only when it's safe). --safe-auto-correct (same, deprecated) -A,...
Actually there's a defcustom you can just update in your Emacs config - `rubocop-autocorrect-command`.
I guess we can simply convert this into a style cop so that people can use consistently `call` or `yield`.
We're in the process of moving all Rails-related functionality to a standalone library (gem) named `rubocop-rails`. Please, migrate this issue to its issue tracker https://github.com/rubocop-hq/rubocop-rails/issues/
Emacs has its own `exec-path` and likely the `rubocop` executable is not on it. You can either extend the `exec-path` manually or install https://github.com/purcell/exec-path-from-shell
I think it's time to close this one. No point in just keeping it around.
I agree that the new proposal is a non-breaking one (at least in my book) and provides a nice path to complete removal down the road.