JSLint (prior to version 2013-03-18) throws the "ADsafe violation: Misformed ADSAFE.go" error when the adsafe and fragment options are set to true (they're false by default) and the call to the ADSAFE.go method does not pass the correct argument types. Here's an example:
This error is raised when JSLint encounters code that violates the rules of the ADsafe subset of JavaScript. It is a fatal error that signifies a severe problem with ADsafe code and will have to be fixed before your ADsafe code will execute.
The ADSAFE.go method requires two arguments. The first must be the name of the widget, and the second must be a function. If the second argument is not passed in (it is undefined) or is any type other than a function, JSLint will throw this error.
In a commit on 20th March 2013, HTML, CSS and ADsafe parsing functionality was removed from JSLint. If you rely upon this functionality, you will be unable to upgrade JSLint to a version beyond that date.