-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
Currently the minSeverity
can be only set globally. It would be nice to configure it per violationConfig
, since some kind of reports can be more important than others. For example i am interested in all Checkstyle
violations, but only interested in error Android LINT
violations.
We cannot configure the plugin this way currently.
The syntax could be:
violationConfigs: [
[ pattern: '.*/checkstyle/.*\\.xml$', parser: 'CHECKSTYLE', reporter: 'Checkstyle', minSeverity: 'ERROR'],
[ pattern: '.*/reports/lint-results.*\\.xml$', parser: 'ANDROIDLINT', reporter: 'AndroidLint', minSeverity: 'WARN']
]