This task runs JSHint, a tool that helps to detect errors and potential problems in JavaScript code.
Table C.35: Attributes
Name | Type | Description | Default | Required |
---|---|---|---|---|
file | String | Single file to perform check on. | n/a | No |
haltOnError | boolean | Should the build fail when there are errors in the JS code? | false | No |
haltOnWarning | boolean | Should the build fail when there are warnings in the JS code? | false | No |
checkstyleReportPath | String | Path where the the report in Checkstyle format should be saved. | n/a | No |