Hi Laurent, We don't have a rule like that. You can probably create a custom rule to do that if you need.
-N On Mon, Jan 18, 2016 at 11:55 AM, Laurent Goudet <[email protected]> wrote: > Is there a way/a rule to prevent people to leak global variables through > the window object, i.e. allowing window to be read (for things like > window.location) but not to be set? Of course you can get a hold on the > global object by other means in JS but that would still make it more > challenging for most devs. Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "ESLint" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- ______________________________ Nicholas C. Zakas @slicknet Author, Professional JavaScript for Web Developers Buy it at Amazon.com: http://www.amazon.com/Professional-JavaScript-Developers-Nicholas-Zakas/dp/1118026691/ref=sr_1_3 -- You received this message because you are subscribed to the Google Groups "ESLint" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
