ogourment
unread,Jan 9, 2011, 2:06:09 PM1/9/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to GroovyLint
Hi,
I've tried groovylint on two projects so far, and it worked fine.
However in order to use it on other projects, I would need to prefix
many, far too many, dynamic variables using ".this".
The problem occurs with Groovy scripts (for example groovylint doesn't
know about "args") and Grails configuration files.
In such files, I can't use the
@org.groovylint.DisableGroovyLint("dynamic_field_access") as there is
no class or methods..
This is particularly painful with Grails, where, for example, the
grails-app/conf/Config.groovy itself generates a dozen such errors...
Would it be possible to turn this one off by default in scripts?
Thanks,
Olivier