AtomLinter / linter-rubocop

Linter plugin for Ruby, using rubocop
MIT License
85 stars 53 forks source link

Support for Command Substitution #500

Open mullermp opened 3 years ago

mullermp commented 3 years ago

Is your feature request related to a problem? Please describe. I use multiple ruby versions for each of my projects. I manage these versions with chruby. The path to Rubocop for these versions is different. i.e

~/.gem/ruby/3.0.2/bin/rubocop
~/.gem/ruby/2.7.4/bin/rubocop

I want to be able to use rubocop for whatever ruby version is in my project.

Describe the solution you'd like I want to set my command to $(which rubocop) and have it use the result as the absolute path.

Describe alternatives you've considered Is there a way to have project level configuration?

Maybe chruby-exec can support .ruby-version but that doesn't seem likely since the feature request is 7 years old. Issue: https://github.com/postmodern/chruby/issues/211

vzamanillo commented 3 years ago

411 but it's on WIP, I stopped the development because I am currently using VSCode, I am not using Atom anymore, sorry.

mullermp commented 3 years ago

Thanks anyway!