Skip to content

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

License

Notifications You must be signed in to change notification settings

jroper/sbt-jshint-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jslint-sbt-plugin

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published