Pergunta

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!

Foi útil?

Solução

Add a space between the e and *

/*jshint devel:true */ 
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top