Closed mengesb closed 5 years ago
Ok, I think we can do this via a new option, but I won't be able to test it as I am not using chef. If I send you a PR when it's up can you take a look for me? Will be next week now.
Yeah I can do that
There is a new minimal implementation of this plugin at https://github.com/SublimeLinter/SublimeLinter-rubocop/pull/55
Using this you could set executable
to ['chef', 'exec', 'rubocop']
. Note that other args like --format emacs
are (currently) still static. However, you could set "args": ["-r", "cookstyle"]
to add arguments to the cmd
.
Closing due to age and lack of interaction. To set executable
as in my previous comment is still an option.
This is related to #36
To run Chef's cookstyle profile, on mac I execute the following:
chef exec rubocop -S -r cookstyle
While I know there's settings for the plugin for arguments, there's no clear definition here as to which executable to run rubocop will be used. Unless i'm misinterpreting configuration, I'd love to be able to specify exactly what the command to perform the linting will be.