SublimeLinter / SublimeLinter-rubocop

SublimeLinter 3 plugin for Ruby, using rubocop.
MIT License
159 stars 40 forks source link

add new config option `use_bundle_exec` #40

Closed smanolloff closed 7 years ago

smanolloff commented 7 years ago

Adds new configuration option: use_bundle_exec

Rationale:

  1. Ensure a single rubocop version is used among different machines, as it is unlikely that all people working on a project have the same global rubocop version installed.

  2. We have a gem within our project, from which we want to inherit rubocop configuration from. Without bundle exec, rubocop fails as it can't "see" this gem (unless it is also globally installed).

reconbot commented 7 years ago

If it works for you it works for me. Good middle ground