3

Can the jshint grunt config be overridden at the file level? For instance, there is a file in which I would like bitwise operators to be allowed. I thought adding the comment below to the top of the file would cause it to pass, but it still failed.

/* jshint bitwise:false */

4

1 回答 1

4

jshint 之前不应该有空格。

/*jshint bitwise:false */
于 2012-10-23T21:57:58.657 回答