Frojd / Frojd-Gulp

Fröjds Gulp package
MIT License
4 stars 0 forks source link

JSHint only understands -W* options #4

Open marteinn opened 9 years ago

marteinn commented 9 years ago
/*jshint camelcase: true */
var camel_case=1;

This will raise an error.

/*jshint -W106 */
var camel_case=1;

Will work as expected.

klingberg commented 9 years ago

Not sure if I follow? Isn't this supposed to raise an error? screen shot 2014-11-02 at 11 14 13

marteinn commented 9 years ago

Nope, its supposed to mute the error. So using the -W style /*jshint -W106 */ will mute the error, while the other style,/*jshint camelcase: true */ dont. They should behave in the same way. Do this make more sense? :)