Closed jvogt closed 7 years ago
I'd probably extend the cookstyle rules file. In my own rubocop.yml
though I'm not sure how to read it out of the gem. Another linter might also be in order if the gem drifts.
I would love this.
I think we can do this now using the bundle_exec option. I don't use cookstyle, so can someone confirm this works please?
"rubocop": {
"use_bundle_exec": true,
"args": ["-r", "cookstyle"]
}
Cookstyle is a wrapper for rubocop, with its own cli. It's developed by Chef, and uses a specific rubocop ruleset that chef has agreed on.
As an experiment I cloned this repo, performed a little
s/rubocop/cookstyle/g
magic, and added it to sublime with successful results.In the interest of DRY, while also respecting that cookstyle has a dedicated gem and cli executable, how would it be best to add support for cookstyle to SublimeLinter?
Do what I did above as a new repo? Add support to this repo?
Just wanted to open the dialog.