task-jshint

Validate files with JSHint.

task-jshint

Validate files with JSHint.

var jshint = new (require('task-jshint'))
jshint.run(inputs, options, logger)

Type: file

Custom configuration file.

Type: string Default: 'jslint'

Custom reporter (|jslint|checkstyle).

Type: string Default: '.js'

Comma-separated list of file extensions to use.

Type: array

A list of files and dirs to ignore. This will override your .jshintignore file if set and does not merge..

Type: boolean Default: false

Show additional data generated by jshint.

Type: select Default: 'never' Options: 'never', 'auto', 'always'

Extract inline scripts contained in HTML.

Type: boolean Default: false

Show message codes.

  • 2014-04-08 0.1.0 Initial release.

Copyright (c) 2014 Yuanyan Cao. Licensed under the MIT license.