Chef's "cookstyle" - drop-in replacement for rubocop


Chef has created a direct(?) replacement for rubocop they call "cookstyle". It seems to use the same configuration syntax etc, but has some chef-specific rules and other things they've done to it. In the Rubymine preferences, is there a way to add cookstyle to the list of inspectors?

I know there's the custom inspectors, which requires writing a bunch of parsing rules? I'd rather not go through all that. Is there a way to maybe tell RM to use cookstyle instead of rubocop?

1 comment

Hello Richard,

at the moment it's not supported but you're welcome to submit it as a feature request directly on the tracker.  You can also try configuring it as an external tool and assigning a shortcut to it.


Please sign in to leave a comment.