Does anyone here use spotbugs and if so, how do yo...
# questions
m
Does anyone here use spotbugs and if so, how do you configure it to run and analyze a grails project? I am attempting to do so w/ a grails 6.2.3 project.
j
Isn't https://codenarc.org/ used more in groovy projects?
s
I think that CodeNarc is the way to go on Grails projects
m
Does anyone have a good set up of CodeNarc on a recent Groovy/Grails project they can recommend? When I looked into adding Groovy static analysis to CI a few months ago, I found it lacked good defaults and not as good to what IntelliJ has built-in.
s
Let me try and dig one out for you.
j
Grails core itself uses codenarc fyi
m
Thanks for pointing that out. The grails-core one seems like a good one to start with. I’ll try that out.
j
We do end up using checkstyle + codenarc though.
checkstyle for java