rubocop-daemon
rubocop-daemon copied to clipboard
Makes RuboCop faster
Im using rbenv with ruby 3.0.1 I followed all install instructions, installed `rubocop-daemon` gem, then downloaded and installed the `rubocop-daemon-wraper` script. Then added the symlink for VScode, I also added...
The gem's idea is great, but it can't be used from remote environments (for example, from docker), because it can't expose TCP port. This pull-request is to add a option...
Add the ability to specify a `rubocop` version when running the daemon using the `RUBOCOP_DAEMON_RUBOCOP_VERSION` environment variable. This resolves the issue in case, for example, two versions of `rubocop` are...
Hello. On Ubuntu 16.04, `nc` doesn't have a `-N` parameter. But on 20.04, it seem to have it. Both land in the same `if` of the daemon-wrapper script. This PR...
if `RUBOCOP_DAEMON_USE_BUNDLER` is set we need to use bundler when we check if `rubocop-daemon` exists.
When symlinked for Vscode, the version of rubocop used is older (1.4.1) than the one installed 1.12.0 ``` rubocop -v 1.4.1 ``` How to make it work with current rubocop...
When run this script in arch linux, we get following error. ``` ╰─ $ rubocop-daemon-wrapper nc: invalid option -- 'N' Try `nc --help' for more information. rubocop-daemon-wrapper: Error sending command...
I am the go to guy on my team for tracking down linting/formatting issues. This isn't easy, considering that the chain goes from vscode => vscode-ruby => rubocop-daemon-wrapper => rubocop-daemon...
Using the `--auto-correct` flag frequently doesn't work with the daemon. Not only does it not auto-correct, it doesn't even detect offenses. The behavior calling rubocop directly is correct. I've also...