Yeah you need to define all the globals with /*globals: ...*/

A start is:

/*globals: Events: false, Options: false, MooTools: false, Class: false,
Element: false, typeOf: false, instanceOf: false, Fx: false, Slick: false,
Type: false, Chain: false, Elements: false, Document: false, Event: false,
Window: false, Browser: false */

Personally I would recommend JSHint instead of JSLint at the moment.

On Wed, Mar 16, 2011 at 1:41 PM, Jason G <[email protected]> wrote:

> I'm wondering if there's something out there that is similar to JSLint
> that is MooTools aware?  JSLint iteslf throws a lot of errors when I
> send my code through it, and most seem to revolve around how things
> are defined in MooTools.
>
> Thoughts/suggestions/ideas?

Reply via email to