api / org.gradle.api.plugins.quality / CodeNarcExtension / getMaxPriority2Violations

getMaxPriority2Violations

open fun getMaxPriority2Violations(): Int

The maximum number of priority 2 violations allowed before failing the build.