Open jeff-knurek opened 5 years ago
It is on the roadmap, and something I want to see too. There are some details that need to be worked out, fx. whether the sync should be manual, ie. a button in the inspections GUI, or some sort of automatic logic that finds codenarc configurations in *.gradle files when relevant.
It would seem to me that at the very least, add the button and decide on the rest later. It wouldn' hurt no matter what path is taken, and it would only add functionality if another, more automated route is taken in the future.
As it is, we use multiple workstations to develop. Attempting to set all options on multiple computers while still facing the possibility of tweaking some of the rules was we go is pretty much a non-starter. The manual option would at least be a foot in the door, and likely would be wanted in some most outcomes anyway.
First, thanks for taking on the task of updating this plugin and making it work as good as it does already.
One thing that would be nice is to be able to pass in a config file with the ruleset preconfigured. We're using CodeNarc in a groovy project with the config file at
/config/codenarc/codenarc.groovy
with our allowances already set there. It would be nice if other developers could add this into the plugin.