- Name: ESLint
- Link name: ESLint Warnings
- Trend report name: Trend report name
([^:]+):(\d+):(\d+): ([^\[\]]+)\[([\w-]+)\/([\w-]+)]
import hudson.plugins.warnings.parser.Warning
import hudson.plugins.analysis.util.model.Priority
String fileName = matcher.group(1)
String lineNumber = matcher.group(2)
String message = matcher.group(4)
String category = matcher.group(6)
String type = matcher.group(5)
Priority priority = type == "Warning" ? Priority.LOW : Priority.HIGH
return new Warning(fileName, Integer.parseInt(lineNumber), type, category, message, priority);
/examples/functions.js:7:30: Missing space before function parentheses. [Warning/space-before-function-paren]