public class Jshint extends AssetProcessor
JSHint is a community-driven tool to detect errors and potential problems in JavaScript code
assets {
fileset {
home: ...
}
pipeline {
dev: [jshint]
...
}
}
assets {
fileset {
home: ...
}
pipeline {
dev: [jshint]
...
}
jshint {
browser: true
devel: true
forin: true
...
predef: {
jquery: true
}
}
}
| Constructor and Description |
|---|
Jshint() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(org.jooby.MediaType type) |
String |
process(String filename,
String source,
com.typesafe.config.Config conf) |
public boolean matches(org.jooby.MediaType type)
matches in class AssetProcessorCopyright © 2016. All rights reserved.