Allows jslint to be used from within sbt. Builds on com.typesafe:webdriver in order to execute jslint.js along with the scripts to verify. WebDriver enables high performance linting given parallelism and native browser execution.
To use this plugin use the addSbtPlugin command within your project's plugins.sbt (or as a global setting). Then declare the settings required in your build file. For example, for build.sbt:
jslintSettings
By default linting occurs as part of your project's test
task. Both src/main/js and src/test/js sources are linted.
Options can be specified in accordance with the (jslint website](http://jslint.org) and they share the same set of defaults. To set an option:
JslintKeys.passfail := Some(true)
© Typesafe Inc., 2013