JSHint

JSHint is a tool to detect errors and potential problems in Javascript code and can be used to enforce coding conventions.

http://www.jshint.com/

Enabling JSHint

If you have a .jshintrc file in your repository, you can configure JSHint by adding the following lines to your configuration:

build:
    environment:
             node: '5.1.0'

    nodes:
        analysis:
            tests:
                override:
                    -  jshint-run

jshint-run is a built-in wrapper for JSHint which takes care of results and output format, however all the options of JSHint are supported as well. For example:

jshint-run --config <config>