jshint/jshint — pull request #488 by aparajita (2012-03-21 15:39:45+00:00)
Title: Add unsafe option

Currently jshint flags non-ASCII characters as "unsafe". However, this ends up flagging non-ASCII text in comments and strings that is totally valid UTF-8. I find it hard to believe that any modern browser that supports UTF-8 cannot deal with this.

This commit adds an "unsafe" option that is false by default, which maintains the current behavior. If it is set to true, then "unsafe" (non-ASCII) characters are allowed.