if (timeout > 0) {
builder.timeout(timeout);
}
if (jslintSource != null) {
try {
return builder.fromFile(jslintSource, Charset.forName(encoding));
} catch (IOException e) {
throw new MojoExecutionException("Cant' load jslint.js", e);
}
} else {
return builder.fromDefault();