JslLintTask

The JslLintTask uses the Javascript Lint program to check the sytax on one or more JavaScript source code files.

NB: the Javascript lint program must be in the system path!

Table 98. Attributes

Name Type Description Default Required
executable String Path to JSL executable jsl No
file String Path to source file n/a No
haltonfailure Boolean Stop the build process if the linting process encounters an error. false No
haltonwarning Boolean Stop the build process if the linting process encounters a warning. false No
showwarnings Boolean Sets the flag if warnings should be shown. true No
cachefile String If set, enables writing of last-modified times to cachefile, to speed up processing of files that rarely change none No
conffile String Path to JSL config file none No
tofile String File to write list of 'bad files' to. n/a No