Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JSHint: How do disable the check for unsafe characters for comments?

Tags:

When using "unsafe characters" (e.g. umlauts) in comments I get the following error:

This character may get silently deleted by one or more browsers. 

Is there any way to disable this check for comments (globally)?

like image 498
jpo Avatar asked May 24 '13 12:05

jpo


1 Answers

I fixed it in one specific file by adding /* jshint -W100 */ in the top of the file.

To ignore it globally, I guess you have to add it somewhere in .jshintrc (though I don't know where).

like image 151
Morten Siebuhr Avatar answered Oct 05 '22 23:10

Morten Siebuhr