Reputation: 63
When programming in Javascript it is possible to configure JSHint from within Javascript files using the following syntax
/* jshint eqnull: true, eqeqeq: false */
Is there any way of setting those specific configurations from within a Coffeescript file?
Upvotes: 3
Views: 879
Reputation: 58561
### jshint eqnull: true, eqeqeq: false ###
alert "regular coffee script here..."
/* jshint eqnull: true, eqeqeq: false */alert("regular coffee script here...");
### jshint eqnull: true, eqeqeq: false ###
### break after hint ###
alert "regular coffee script here..."
/* jshint eqnull: true, eqeqeq: false */
/* break after hint */alert("regular coffee script here...");
Upvotes: 4