Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orion-dev] jslint /*globals */ alternative

There's no UI (yet) but is patching the Orion source an option for you? Open jslintPlugin.js and pass an option like this to the JSLINT function:
   predef: ['traceur', 'window', 'console']

Thinking of Orion 0.5 work, this would be another ideal integration point for the Settings page.

Mark

[1] http://www.jslint.com/lint.html

On Thu, Mar 1, 2012 at 2:12 PM, John J Barton <johnjbarton@xxxxxxxxxxxxxxx> wrote:
I've grow (reluctantly ;-) ) to like jslint. However the tech lead for
Traceur objects to the

/*globals window console*/

lines. Is there any way to set er global defaults for the globals value?

jjb
_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orion-dev


Back to the top