Reproducible in the demo, at http://eslint.org/demo/

Enter this:

/*global foo: true */
> foo = 5;



w/o the global directive, eslint throws "foo undefined". With global true, 
it throws "never used". With global false it throws "foo is read only".

Is this a bug?



-- 
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.

Reply via email to