Open gmazza opened 11 years ago
In an other issue #63 you wrote that you use jslint-maven-plugin. So what is the issue ?
After (re) reading both issue, may be I should removed jslint from the next version ?
This is dependent on #63. If you decide to keep it, you should update it to the latest one as it saves people a lot of time and aggravation as they can't understand why their jslint settings aren't working.
Hi the latest JSLint.js has many more settings (such as the "vars" setting): https://github.com/douglascrockford/JSLint/blob/master/jslint.js#L288
than the three-year old one packaged with the plugin: https://github.com/davidB/yuicompressor-maven-plugin/blob/master/src/main/resources/jslint.js#L53
Right now I can't use /jslint vars: true/ in a JavaScript file because the yuicompressor-maven-plugin's jslint.js version doesn't have that option (the plugin's jslint goal just returns an error and halts.)
Could you please update the plugin to the latest JSLint.js?