I'm using jshint and have the following options defined:

/*global $, _*/
/*jshint devel:true*/

My understanding is that by having /*jshint devel:true*/ it should allow console and alert, but I continue to get errors on them. Any ideas if there's something else I need to do?

Thank you!

有帮助吗?

解决方案

Add a space between the e and *

/*jshint devel:true */ 
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top