Unused Variables in Parameters

Oct 3, 2012 at 10:50 AM

Dears

Since WinJS supported promise which use three parameters, sometimes we just need complete-function and JSLint would have warnings about error and progress parameters.

I think it might be useful if it's able to disallow variables but have option to ignore unused parameter.

Sorry to interrupt you about this minor case.

Coordinator
Oct 3, 2012 at 8:39 PM

the extension uses jshint and jslint, they are not written by me. the only way of turning it off in jslint is to switch off unused parameters.

 

Oct 4, 2012 at 1:42 AM

Thanks for your replay, I would use this way to filter them out.